Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
33 | 2 | protected function discover(\Iterator $files) |
|
34 | { |
||
35 | 2 | $discoverer = new MethodListenerDiscovery( |
|
36 | 2 | new AggregateCommandHandlerDetector(), |
|
37 | 2 | new AnyPhpClassIsAccepted); |
|
38 | |||
39 | 2 | $map = $discoverer->discoverListeners($files); |
|
40 | |||
41 | 2 | $this->validateMap($this->groupMap($map)); |
|
42 | |||
43 | 1 | return $map; |
|
44 | } |
||
45 | |||
50 | } |