| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | 264 | public function handle(Event $event, $eventName, EventDispatcherInterface $eventDispatcher) |
|
| 28 | { |
||
| 29 | 264 | $delegates = static::getDelegatedSubscribedEvents(); |
|
| 30 | |||
| 31 | 264 | if (isset($delegates[$eventName])) { |
|
| 32 | 264 | foreach ($delegates[$eventName] as $delegate) { |
|
| 33 | 264 | $eventDispatcher->dispatch($delegate, $event); |
|
| 34 | 132 | } |
|
| 35 | 132 | } |
|
| 36 | 264 | } |
|
| 37 | |||
| 52 |