public function trigger($event, $target = null, $args = []) {
		if ($this->_profilerEnabled) {
			$profilerEvent = $this->getProfiler()->startEvent($event);
		}
		
		$this->fire($event, $target, $args);
		
		if ($this->_profilerEnabled) {
			$profilerEvent->stop();
		}
		
		return $this;
	}
public function trigger($event, $target = null, $args = []) {
		if ($this->_profilerEnabled) {
			$profilerEvent = $this->getProfiler()->startEvent($event);
		}
		
		$this->fire($event, $target, $args);
		
		if ($this->_profilerEnabled) {
			$profilerEvent->stop();
		}
		
		return $this;
	}
public function trigger ( $ event , $ target = null , $ args = [ ] ) { if ( $ this -> _profilerEnabled ) { $ profilerEvent = $ this -> getProfiler ( ) -> startEvent ( $ event ) ; } $ this -> fire ( $ event , $ target , $ args ) ; if ( $ this -> _profilerEnabled ) { $ profilerEvent -> stop ( ) ; } return $ this ; }
Trigger the event

@param  string $event
@param  mixed  $target
@param  array  $args
@return EventsManager
Trigger the event