1 | <?php |
||
24 | class RefreshListener extends AccessControlledListener |
||
25 | { |
||
26 | /** |
||
27 | * {@inheritdoc} |
||
28 | */ |
||
29 | 1 | public static function getSubscribedEvents() |
|
35 | |||
36 | /** |
||
37 | * Look at safe requests and handle refresh requests. |
||
38 | * |
||
39 | * Ignore refresh to let normal lookup happen when the request comes from |
||
40 | * a non-authorized client. |
||
41 | * |
||
42 | * @param CacheEvent $event |
||
43 | */ |
||
44 | 6 | public function handleRefresh(CacheEvent $event) |
|
58 | } |
||
59 |