1 | <?php |
||
9 | class CacheClearCommand extends Command |
||
10 | { |
||
11 | /** |
||
12 | * @var Cache |
||
13 | */ |
||
14 | private $cache; |
||
15 | |||
16 | /** |
||
17 | * CacheCleanCommand constructor. |
||
18 | * |
||
19 | * @param null $name |
||
20 | * @param Cache $cache |
||
21 | */ |
||
22 | public function __construct($name, Cache $cache) |
||
28 | |||
29 | /** |
||
30 | * Configure the command. |
||
31 | */ |
||
32 | protected function configure() |
||
37 | |||
38 | /** |
||
39 | * Execute the command. |
||
40 | * |
||
41 | * @param InputInterface $input |
||
42 | * @param OutputInterface $output |
||
43 | * |
||
44 | * @return int |
||
45 | */ |
||
46 | protected function execute(InputInterface $input, OutputInterface $output) |
||
54 | } |
||
55 |