Cassandra\DatatypeIntegrationTests::typeString PHP Метод

typeString() публичный статический Метод

Generate a type string suitable for creating a new table or user type using CQL
public static typeString ( $type ) : string
$type Cassandra\Type
Результат string String representation of type
    public static function typeString($type)
    {
        if ($type instanceof Type\Tuple || $type instanceof Type\Collection || $type instanceof Type\Map || $type instanceof Type\Set || $type instanceof Type\UserType) {
            return sprintf("frozen<%s>", $type);
        } else {
            return (string) $type;
        }
    }