| Total Complexity | 5 | 
| Total Lines | 28 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 9 | trait ListenForInterfacesTrait | ||
| 10 | { | ||
| 11 | public function getListeners(string $eventName = null): array | ||
| 18 | } | ||
| 19 | |||
| 20 | /** | ||
| 21 | * Add the listeners for the event's interfaces to the given array. | ||
| 22 | * | ||
| 23 | * @param string $eventName | ||
| 24 | * @param array $listeners | ||
| 25 | * @return array | ||
| 26 | */ | ||
| 27 | protected function addInterfaceListeners($eventName, array $listeners = []): array | ||
| 39 |