protected function getParentListeners($event)
    {
        $parentListeners = [];

        foreach ($this->listeners as $key => $listeners)
        {
            if ($event instanceof $key)
            {
                $parentListeners = array_merge($parentListeners, $listeners);
            }
        }

        return $parentListeners;
    }
protected function getParentListeners($event)
    {
        $parentListeners = [];

        foreach ($this->listeners as $key => $listeners)
        {
            if ($event instanceof $key)
            {
                $parentListeners = array_merge($parentListeners, $listeners);
            }
        }

        return $parentListeners;
    }
protected function getParentListeners ( $ event ) { $ parentListeners = [ ] ; foreach ( $ this -> listeners as $ key => $ listeners ) { if ( $ event instanceof $ key ) { $ parentListeners = array_merge ( $ parentListeners , $ listeners ) ; } } return $ parentListeners ; }
Get the parent class or interface listeners for the event.

@param  object  $event
@return array
Get the parent class or interface listeners for the event .