PHP Class PHPSA\Compiler\Types

Mostra file Open project: ovr/phpsa Class Usage Examples

Public Methods

Method Description
getType ( string $typeName ) : integer Get type (integer) by $type
getTypeByValue ( $value ) : integer Get type by $value
getTypeName ( integer $type ) : string Get name for the $type

Method Details

getType() public static method

Get type (integer) by $type
public static getType ( string $typeName ) : integer
$typeName string
return integer

getTypeByValue() public static method

Get type by $value
public static getTypeByValue ( $value ) : integer
$value
return integer

getTypeName() public static method

Get name for the $type
public static getTypeName ( integer $type ) : string
$type integer
return string