1 | <?php |
||
20 | class LocaleListener |
||
21 | { |
||
22 | protected $configs = array(); |
||
23 | |||
24 | /** |
||
25 | * Runs on kernel request. |
||
26 | * |
||
27 | * @param GetResponseEvent $event |
||
28 | */ |
||
29 | 4 | public function onKernelRequest(GetResponseEvent $event) |
|
39 | |||
40 | /** |
||
41 | * Adds a ConfigCache. |
||
42 | * |
||
43 | * @param ConfigCacheInterface $config |
||
44 | * |
||
45 | * @return LocaleListener |
||
46 | */ |
||
47 | 3 | public function addConfig(ConfigCacheInterface $config) |
|
53 | } |
||
54 |