public function hasListeners($eventName = null)
    {
        return ($this->symfonyDispatcher->hasListeners($eventName) ||
            $this->laravelDispatcher->hasListeners($eventName));
    }
public function hasListeners($eventName = null)
    {
        return ($this->symfonyDispatcher->hasListeners($eventName) ||
            $this->laravelDispatcher->hasListeners($eventName));
    }
public function hasListeners ( $ eventName = null ) { return ( $ this -> symfonyDispatcher -> hasListeners ( $ eventName ) || $ this -> laravelDispatcher -> hasListeners ( $ eventName ) ) ; }
Checks whether an event has any registered listeners.

@param string $eventName The name of the event

@return bool true if the specified event has any listeners, false otherwise
Checks whether an event has any registered listeners .