PHP Class Protobuf\Field

Author: Iván Montes ([email protected])
Author: Fabio B. Silva ([email protected])
Show file Open project: protobuf-php/protobuf Class Usage Examples

Protected Properties

Property Type Description
$names array

Public Methods

Method Description
getLabelName ( string $label ) : string Obtain the label name (repeated, optional, required).
getPhpType ( integer $type ) : string
getTypeName ( integer $type ) : string

Method Details

getLabelName() public static method

Obtain the label name (repeated, optional, required).
public static getLabelName ( string $label ) : string
$label string
return string

getPhpType() public static method

public static getPhpType ( integer $type ) : string
$type integer
return string

getTypeName() public static method

public static getTypeName ( integer $type ) : string
$type integer
return string

Property Details

$names protected static property

protected static array $names
return array