Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
24 | abstract class AbstractCacheAction extends AdminAction |
||
25 | { |
||
26 | use CachePoolAwareTrait; |
||
27 | |||
28 | /** |
||
29 | * @return array |
||
30 | */ |
||
31 | public function results() |
||
32 | { |
||
33 | return [ |
||
34 | 'success' => $this->success(), |
||
35 | 'feedbacks' => $this->feedbacks(), |
||
36 | ]; |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * Set dependencies from the service locator. |
||
41 | * |
||
42 | * @param Container $container A service locator. |
||
43 | * @return void |
||
44 | */ |
||
45 | protected function setDependencies(Container $container) |
||
50 | } |
||
51 | } |
||
52 |