• 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
..
Internal Loading commit data...
Any.php Loading commit data...
Api.php Loading commit data...
BoolValue.php Loading commit data...
BytesValue.php Loading commit data...
Descriptor.php Loading commit data...
DescriptorPool.php Loading commit data...
DoubleValue.php Loading commit data...
Duration.php Loading commit data...
Enum.php Loading commit data...
EnumDescriptor.php Loading commit data...
EnumValue.php Loading commit data...
EnumValueDescriptor.php Loading commit data...
Field.php Loading commit data...
FieldDescriptor.php Loading commit data...
FieldMask.php Loading commit data...
Field_Cardinality.php Loading commit data...
Field_Kind.php Loading commit data...
FloatValue.php Loading commit data...
GPBEmpty.php Loading commit data...
Int32Value.php Loading commit data...
Int64Value.php Loading commit data...
ListValue.php Loading commit data...
Method.php Loading commit data...
Mixin.php Loading commit data...
NullValue.php Loading commit data...
OneofDescriptor.php Loading commit data...
Option.php Loading commit data...
SourceContext.php Loading commit data...
StringValue.php Loading commit data...
Struct.php Loading commit data...
Syntax.php Loading commit data...
Timestamp.php Loading commit data...
Type.php Loading commit data...
UInt32Value.php Loading commit data...
UInt64Value.php Loading commit data...
Value.php Loading commit data...