public static userTypeString ( $userType ) : string | ||
$userType | Cassandra\Type | |
리턴 | string | String representation of the UserType |
public static function userTypeString($userType)
{
return sprintf("%s", implode("_", array_map(function ($name, $type) {
return $name . str_replace(array("frozen", "<", " ", ",", ">"), "", $type);
}, array_keys($userType->types()), $userType->types())));
}