public static function keyFormat($name, $config) { return $config['name'] . '[' . str_replace('.', '][', $name) . ']'; }