• michaelbausor's avatar
    PHP: Add Enum methods for converting to/from strings (#5342) · 0b9af83d
    michaelbausor authored
    * adds string-to-int and int-to-string methods to enums
    
    * remove check for valueToName property in EnumTrait
    
    * Remove unused imports
    
    * Update to avoid using EnumTrait
    
    * Remove EnumTrait
    
    * Update enum types
    
    * Move name and value methods into generated classes
    
    * Remove functions from GPBUtil
    
    * Test well known enums
    
    * Implement enum value to/from name in c extension
    
    * Only generate use statement when namespace is present
    0b9af83d
Name
Last commit
Last update
..
Field Loading commit data...
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...