protected function update(Event $event)
    {
        $this->dispatch(static::EVENT_UPDATE_BEFORE, $event);
        if (!$event->isPropagationStopped()) {
            $this->updateProcess($event);
            if (!$event->isPropagationStopped()) {
                $this->dispatch(static::EVENT_UPDATE_AFTER, $event);
            }
        }
    }
protected function update(Event $event)
    {
        $this->dispatch(static::EVENT_UPDATE_BEFORE, $event);
        if (!$event->isPropagationStopped()) {
            $this->updateProcess($event);
            if (!$event->isPropagationStopped()) {
                $this->dispatch(static::EVENT_UPDATE_AFTER, $event);
            }
        }
    }
protected function update ( Event $ event ) { $ this -> dispatch ( static :: EVENT_UPDATE_BEFORE , $ event ) ; if ( ! $ event -> isPropagationStopped ( ) ) { $ this -> updateProcess ( $ event ) ; if ( ! $ event -> isPropagationStopped ( ) ) { $ this -> dispatch ( static :: EVENT_UPDATE_AFTER , $ event ) ; } } }
Allow to send Update Events
@param Event $event
Allow to send Update Events