Total Complexity | 3 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class FlushCache extends Command |
||
12 | { |
||
13 | public const NAME = 'template:flushcache'; |
||
14 | |||
15 | protected CacheManager $cacheManager; |
||
16 | |||
17 | /** |
||
18 | * FlushCacheCommand constructor. |
||
19 | * |
||
20 | * @param CacheManager $cacheManager |
||
21 | */ |
||
22 | public function __construct(CacheManager $cacheManager) |
||
23 | { |
||
24 | $this->cacheManager = $cacheManager; |
||
25 | |||
26 | parent::__construct(); |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @inheritdoc |
||
31 | */ |
||
32 | protected function define(): void |
||
36 | ; |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @inheritdoc |
||
41 | */ |
||
42 | protected function doExecute(IResponse $response): void |
||
48 |