1. 25 May, 2018 1 commit
    • Brent Shaffer's avatar
      PHP array constructors for protobuf messages (#4530) · c9b404d2
      Brent Shaffer authored
      * PHP array constructors for protobuf messages
      
      * removes Descriptor from error message
      
      * allows mergeFrom to accept an array
      
      * only use initWithDescriptor if instanceof MapEntry
      
      * adds doc comments
      
      * removes ability for constructors to take arrays for submessages
      
      * Revert "allows mergeFrom to accept an array"
      
      This reverts commit b7b72182d561634af12c5c5c56a7cda3b33241f9.
      
      * makes mergeFromArray protected and fixes mergeFrom whitespace
      
      * Separates merging from JSON and merging from PHP array
      
      * removes well-known types and json keys from array construction
      
      * Addresses PR review comments
      
      * cleans up tests
      
      * fixes exception messages
      c9b404d2
  2. 19 Jul, 2017 1 commit
  3. 18 Jul, 2017 1 commit
  4. 17 Jul, 2017 1 commit
  5. 27 Jun, 2017 1 commit
    • Brent Shaffer's avatar
      adds PHPDoc @return and @param for getters and setters respectively (#3131) · 12acbc26
      Brent Shaffer authored
      * adds PHPDoc @return and @param for getters and setters respectively
      
      * addresses changes in PR review
      
      * adds documentation tests
      
      * Update php_generator:
      
      - Prepend \ to names where required
      - Remove <pre> tags
      - Update protobuf field comments
      
      * Updates class files with the protobuf changes
      
      * Addresses review comments
      
      * removes Protobuf Type line from PHP generated classes
      
      * fixes phpdoc test
      
      * adds array types to phpdoc
      12acbc26
  6. 05 Jun, 2017 1 commit
    • Paul Yang's avatar
      Add new file option php_namespace. (#3162) · 6f325805
      Paul Yang authored
      * Add new file option php_namespace.
      
      Use this option to change the namespace of php generated classes.
      Default is empty. When this option is empty, the package name will be
      used for determining the namespace.
      
      * Uncomment commented tests
      
      * Revert gdb test change
      
      * Update csharp descriptor.
      
      * Add test for empty php_namespace.
      6f325805
  7. 17 Mar, 2017 1 commit
  8. 08 Dec, 2016 1 commit