public static normalizeKey ( string $key ) : string | ||
$key | string | |
return | string |
public static function normalizeKey($key)
{
return $key === null ? null : trim(str_replace([" ", "\t", "\n", "\r", "", "\v"], ['', '', '', '', '', ''], $key), '.');
}