1 | <?php |
||
16 | class ResponseListener |
||
17 | { |
||
18 | /** |
||
19 | * @var KeeperInterface |
||
20 | */ |
||
21 | protected $keeper; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $tz_param_name = ''; |
||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $tz_param_offset = ''; |
||
32 | |||
33 | /** |
||
34 | * @param KeeperInterface $tz_keeper |
||
35 | * @param string $tz_param_name |
||
36 | * @param string $tz_param_offset |
||
37 | */ |
||
38 | public function __construct( |
||
47 | |||
48 | /** |
||
49 | * Save user time zone |
||
50 | * |
||
51 | * @param FilterResponseEvent $event |
||
52 | */ |
||
53 | public function onKernelResponseSaveUserTimeZone(FilterResponseEvent $event) |
||
70 | |||
71 | /** |
||
72 | * @param string $name |
||
73 | * @param string $value |
||
74 | * |
||
75 | * @return Cookie |
||
76 | */ |
||
77 | protected function getCookie($name, $value) |
||
81 | } |
||
82 |