13 lines
223 B
Plaintext
13 lines
223 B
Plaintext
/**
|
|
* Model the key
|
|
*
|
|
* @param string $key The key to model
|
|
*
|
|
* @return string
|
|
* @since 3.2.0
|
|
*/
|
|
protected function key(string $key): string
|
|
{
|
|
return preg_replace('/\s+/', '', $key);
|
|
}
|