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