public static fromInternalTypeName ( string $type_name ) : |
||
$type_name | string | The name of the internal type such as 'int' |
return | Get a type for the given type name |
/** * @return Type * Get a type for the given object */ public static function fromObject($object) : Type { return Type::fromInternalTypeName(gettype($object)); }