src/AdvanceEventEmitterTrait.php
public function getListeners(string $eventName) : array
    {
        return isset($this->listeners[$eventName]) ? $this->listeners[$eventName] : [];
    }
public function getListeners(string $eventName) : array
    {
        return isset($this->listeners[$eventName]) ? $this->listeners[$eventName] : [];
    }
@param string $eventName

@return array|callable[]