public function getListenersForEvent($eventClassName)
    {
        if (FALSE === array_key_exists($eventClassName, $this->eventMap))
        {
            return [];
        }
        return $this->eventMap[$eventClassName];
    }
public function getListenersForEvent($eventClassName)
    {
        if (FALSE === array_key_exists($eventClassName, $this->eventMap))
        {
            return [];
        }
        return $this->eventMap[$eventClassName];
    }
public function getListenersForEvent ( $ eventClassName ) { if ( FALSE === array_key_exists ( $ eventClassName , $ this -> eventMap ) ) { return [ ] ; } return $ this -> eventMap [ $ eventClassName ] ; }
Gets all listeners for an event.

@param string $eventClassName The event class name.
@return array An array of callables.
Gets all listeners for an event .