PHP Class PHPSA\Compiler\Types

Afficher le fichier Open project: ovr/phpsa Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Get type (integer) by $type
public static getType ( string $typeName ) : integer
$typeName string
Résultat integer

getTypeByValue() public static méthode

Get type by $value
public static getTypeByValue ( $value ) : integer
$value
Résultat integer

getTypeName() public static méthode

Get name for the $type
public static getTypeName ( integer $type ) : string
$type integer
Résultat string