Prooph\ServiceBus\MessageBus::trigger PHP Method

trigger() protected method

protected trigger ( Prooph\Common\Event\ActionEvent $actionEvent )
$actionEvent Prooph\Common\Event\ActionEvent
    protected function trigger(ActionEvent $actionEvent)
    {
        $this->getActionEventEmitter()->dispatch($actionEvent);
        if ($actionEvent->propagationIsStopped()) {
            throw new RuntimeException("Dispatch has stopped unexpectedly.");
        }
    }