protected function call($eventName, $subject = null, $message = null)
    {
        if (!isset($this->events[$eventName])) {
            return $subject;
        }

        foreach ($this->events[$eventName] as $listener) {
            if ($this->stop) {
                break;
            }

            $subject = $listener($this->container, $subject, $message, $eventName);
        }

        return $subject;
    }
protected function call($eventName, $subject = null, $message = null)
    {
        if (!isset($this->events[$eventName])) {
            return $subject;
        }

        foreach ($this->events[$eventName] as $listener) {
            if ($this->stop) {
                break;
            }

            $subject = $listener($this->container, $subject, $message, $eventName);
        }

        return $subject;
    }
protected function call ( $ eventName , $ subject = null , $ message = null ) { if ( ! isset ( $ this -> events [ $ eventName ] ) ) { return $ subject ; } foreach ( $ this -> events [ $ eventName ] as $ listener ) { if ( $ this -> stop ) { break ; } $ subject = $ listener ( $ this -> container , $ subject , $ message , $ eventName ) ; } return $ subject ; }
Calls event listener

@param string $eventName
@param mixed  $subject
@param mixed  $message

@return mixed
Calls event listener