1 | <?php |
||
21 | class ApcCache extends BaseApcCache |
||
22 | { |
||
23 | /** |
||
24 | * @var RouterInterface |
||
25 | */ |
||
26 | protected $router; |
||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $token; |
||
32 | |||
33 | /** |
||
34 | * @param string $token A token to clear the related cache |
||
35 | * @param string $prefix A prefix to avoid clash between instances |
||
36 | * @param string[] $servers An array of servers |
||
37 | * @param array $timeout An array of timeout options |
||
38 | */ |
||
39 | public function __construct( |
||
51 | |||
52 | /** |
||
53 | * @throws AccessDeniedHttpException |
||
54 | */ |
||
55 | public function cacheAction(string $token): Response |
||
74 | |||
75 | protected function getUrl(): ?string |
||
79 | } |
||
80 |