• Brent Shaffer's avatar
    PHP array constructors for protobuf messages (#4530) · f1911f37
    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
    f1911f37
Name
Last commit
Last update
..
CodedInputStream.php Loading commit data...
CodedOutputStream.php Loading commit data...
Descriptor.php Loading commit data...
DescriptorPool.php Loading commit data...
DescriptorProto.php Loading commit data...
DescriptorProto_ExtensionRange.php Loading commit data...
DescriptorProto_ReservedRange.php Loading commit data...
EnumBuilderContext.php Loading commit data...
EnumDescriptor.php Loading commit data...
EnumDescriptorProto.php Loading commit data...
EnumDescriptorProto_EnumReservedRange.php Loading commit data...
EnumOptions.php Loading commit data...
EnumValueDescriptorProto.php Loading commit data...
EnumValueOptions.php Loading commit data...
ExtensionRangeOptions.php Loading commit data...
FieldDescriptor.php Loading commit data...
FieldDescriptorProto.php Loading commit data...
FieldDescriptorProto_Label.php Loading commit data...
FieldDescriptorProto_Type.php Loading commit data...
FieldOptions.php Loading commit data...
FieldOptions_CType.php Loading commit data...
FieldOptions_JSType.php Loading commit data...
FileDescriptor.php Loading commit data...
FileDescriptorProto.php Loading commit data...
FileDescriptorSet.php Loading commit data...
FileOptions.php Loading commit data...
FileOptions_OptimizeMode.php Loading commit data...
GPBDecodeException.php Loading commit data...
GPBJsonWire.php Loading commit data...
GPBLabel.php Loading commit data...
GPBType.php Loading commit data...
GPBUtil.php Loading commit data...
GPBWire.php Loading commit data...
GPBWireType.php Loading commit data...
GeneratedCodeInfo.php Loading commit data...
GeneratedCodeInfo_Annotation.php Loading commit data...
GetPublicDescriptorTrait.php Loading commit data...
HasPublicDescriptorTrait.php Loading commit data...
MapEntry.php Loading commit data...
MapField.php Loading commit data...
MapFieldIter.php Loading commit data...
Message.php Loading commit data...
MessageBuilderContext.php Loading commit data...
MessageOptions.php Loading commit data...
MethodDescriptorProto.php Loading commit data...
MethodOptions.php Loading commit data...
MethodOptions_IdempotencyLevel.php Loading commit data...
OneofDescriptor.php Loading commit data...
OneofDescriptorProto.php Loading commit data...
OneofField.php Loading commit data...
OneofOptions.php Loading commit data...
RawInputStream.php Loading commit data...
RepeatedField.php Loading commit data...
RepeatedFieldIter.php Loading commit data...
ServiceDescriptorProto.php Loading commit data...
ServiceOptions.php Loading commit data...
SourceCodeInfo.php Loading commit data...
SourceCodeInfo_Location.php Loading commit data...
UninterpretedOption.php Loading commit data...
UninterpretedOption_NamePart.php Loading commit data...