Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
35 | public function execute(InputInterface $input, OutputInterface $output) |
||
36 | { |
||
37 | // Prepare. |
||
38 | $locker = new Locker(); |
||
39 | $locker->openLockFile(); |
||
40 | |||
41 | // View. |
||
42 | $table = $this->getHelper('table'); |
||
43 | $table |
||
44 | ->setHeaders(ServerItem::getAllProperties()) |
||
45 | ->setRows($locker->toArray()); |
||
46 | $table->render($output); |
||
47 | } |
||
48 | |||
49 | } |