public function setEventListener($listener)
	{
		$this->ensureEventListeners();
		
		$this->_eventListeners[Ioc::resolveClassName($listener)] =  $listener;
		
		return $this;
	}
public function setEventListener($listener)
	{
		$this->ensureEventListeners();
		
		$this->_eventListeners[Ioc::resolveClassName($listener)] =  $listener;
		
		return $this;
	}
public function setEventListener ( $ listener ) { $ this -> ensureEventListeners ( ) ; $ this -> _eventListeners [ Ioc :: resolveClassName ( $ listener ) ] = $ listener ; return $ this ; }
set an eventListener
@param  EventListenerInterface $listener
@return static
set an eventListener