public function trigger($eventName, $origin = null, $context = [], EventInterface $event = null)
    {
        if ($eventsHandler = $this->getEventsHandler()) {
            $eventsHandler->trigger($eventName, $origin, $context, $event);
        }
    }
public function trigger($eventName, $origin = null, $context = [], EventInterface $event = null)
    {
        if ($eventsHandler = $this->getEventsHandler()) {
            $eventsHandler->trigger($eventName, $origin, $context, $event);
        }
    }
public function trigger ( $ eventName , $ origin = null , $ context = [ ] , EventInterface $ event = null ) { if ( $ eventsHandler = $ this -> getEventsHandler ( ) ) { $ eventsHandler -> trigger ( $ eventName , $ origin , $ context , $ event ) ; } }
Proxy trigger method

@param string              $eventName
@param mixed               $origin
@param array               $context
@param EventInterface|null $event
Proxy trigger method