aboutsummaryrefslogtreecommitdiffhomepage
path: root/php/src/Google/Protobuf/Internal/OneofOptions.php
Commit message (Collapse)AuthorAge
* PHP array constructors for protobuf messages (#4530)Gravatar Brent Shaffer2018-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* compiles removal of newline (#3333) (#3370)Gravatar Brent Shaffer2017-07-19
|
* remove pass by reference for php setters (#3344)Gravatar Brent Shaffer2017-07-17
| | | | | | * remove pass by reference for php setters * comments out memory leak test
* adds PHPDoc @return and @param for getters and setters respectively (#3131)Gravatar Brent Shaffer2017-06-27
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add new file option php_namespace. (#3162)Gravatar Paul Yang2017-06-05
| | | | | | | | | | | | | | | | * 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.
* Add file option php_class_prefix (#2849)Gravatar Paul Yang2017-03-17
| | | | This option will be prepended to generated classes of all messages in the containing file.
* Make php generated code conform to PSR-4. (#2435)Gravatar Paul Yang2016-12-08
1. Generate single file for each message. 2. Lazily initiate metadata.