public function trigger($eventName, $target = null)
    {
        $event = $this->createEvent($eventName);
        $event->setTarget($target);
        $this->triggerHandlers($event);
    }
public function trigger($eventName, $target = null)
    {
        $event = $this->createEvent($eventName);
        $event->setTarget($target);
        $this->triggerHandlers($event);
    }
public function trigger ( $ eventName , $ target = null ) { $ event = $ this -> createEvent ( $ eventName ) ; $ event -> setTarget ( $ target ) ; $ this -> triggerHandlers ( $ event ) ; }
Create an event from the default event and trigger it's handlers.
@param string $eventName
@param mixed $target
Create an event from the default event and trigger it s handlers .