Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | public function execute(InputInterface $input, OutputInterface $output) |
||
30 | { |
||
31 | $io = new SymfonyStyle($input, $output); |
||
32 | |||
33 | $io->title('Tactician domain events'); |
||
34 | $headers = ['Order', 'Callable']; |
||
35 | |||
36 | foreach ($this->mappings as $event => $listeners) { |
||
37 | $io->section('Event: '.$event); |
||
38 | $io->table($headers, $this->mappingToRows($listeners)); |
||
39 | } |
||
40 | |||
41 | $io->comment('Number of events: '. count($this->mappings)); |
||
42 | } |
||
43 | |||
54 |