Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
36 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
37 | { |
||
38 | $info = $this->getCacheTool()->stat_realpath_get(); |
||
39 | |||
40 | $table = new Table($output); |
||
41 | $table |
||
42 | ->setHeaders([ |
||
43 | 'Path entry', |
||
44 | 'key', |
||
45 | 'is_dir', |
||
46 | 'realpath', |
||
47 | 'expires', |
||
48 | ]) |
||
49 | ->setRows($this->processFilelist($info)) |
||
50 | ; |
||
51 | |||
52 | $table->render(); |
||
53 | |||
54 | return 0; |
||
55 | } |
||
74 |