• 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
Name
Last commit
Last update
..
proto Loading commit data...
array_test.php Loading commit data...
autoload.php Loading commit data...
bootstrap_phpunit.php Loading commit data...
compatibility_test.sh Loading commit data...
descriptors_test.php Loading commit data...
encode_decode_test.php Loading commit data...
gdb_test.sh Loading commit data...
generated_class_test.php Loading commit data...
generated_phpdoc_test.php Loading commit data...
generated_service_test.php Loading commit data...
map_field_test.php Loading commit data...
memory_leak_test.php Loading commit data...
php_implementation_test.php Loading commit data...
test.sh Loading commit data...
test_base.php Loading commit data...
test_util.php Loading commit data...
undefined_test.php Loading commit data...
well_known_test.php Loading commit data...