lithium\storage\session\adapter\Cookie::keyFormat PHP Method

keyFormat() public static method

Formats the given $name argument for use in the cookie adapter.
public static keyFormat ( string $name, array $config ) : string
$name string The key to be formatted, e.g. `foo.bar.baz`.
$config array
return string The formatted key.
    public static function keyFormat($name, $config)
    {
        return $config['name'] . '[' . str_replace('.', '][', $name) . ']';
    }