| 1 | <?php |
||
| 27 | class RefreshSubscriber extends AccessControlledSubscriber |
||
| 28 | { |
||
| 29 | /** |
||
| 30 | * {@inheritdoc} |
||
| 31 | */ |
||
| 32 | public static function getSubscribedEvents() |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Look at safe requests and handle refresh requests. |
||
| 41 | * |
||
| 42 | * Ignore refresh to let normal lookup happen when the request comes from |
||
| 43 | * a non-authorized client. |
||
| 44 | * |
||
| 45 | * @param CacheEvent $event |
||
| 46 | */ |
||
| 47 | 5 | public function handleRefresh(CacheEvent $event) |
|
| 61 | } |
||
| 62 |