Kraken\Util\Support\ArraySupport::normalizeKey PHP Method

normalizeKey() public static method

Normalize key to dot notation valid format.
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), '.');
    }