public function trigger($handler, Event $event)
    {
        if ($listener = $this->getListener($handler)) {
            return call_user_func_array($listener, [$event]);
        }
    }
public function trigger($handler, Event $event)
    {
        if ($listener = $this->getListener($handler)) {
            return call_user_func_array($listener, [$event]);
        }
    }
public function trigger ( $ handler , Event $ event ) { if ( $ listener = $ this -> getListener ( $ handler ) ) { return call_user_func_array ( $ listener , [ $ event ] ) ; } }
trigger event.
trigger event .