public function getEventsManager() {
		if ($this->_eventsManager === null) {
			if ($this instanceof LocatorAwareInterface && $this->hasLocator()) {
				$this->_eventsManager = $this->getLocator()->get($this->getEventsManagerServiceId());
				
				if (! $this->_eventsManager instanceof EventsManagerInterface) {
					throw new NoEventsManager('Event\'s manager must implement "EventsManagerInterface"');
				}
			} else {
				throw new NoEventsManager('No Events manager been supplied, also unable to obtain one through locator');
			}
		}
		
		return $this->_eventsManager;
	}
public function getEventsManager() {
		if ($this->_eventsManager === null) {
			if ($this instanceof LocatorAwareInterface && $this->hasLocator()) {
				$this->_eventsManager = $this->getLocator()->get($this->getEventsManagerServiceId());
				
				if (! $this->_eventsManager instanceof EventsManagerInterface) {
					throw new NoEventsManager('Event\'s manager must implement "EventsManagerInterface"');
				}
			} else {
				throw new NoEventsManager('No Events manager been supplied, also unable to obtain one through locator');
			}
		}
		
		return $this->_eventsManager;
	}
public function getEventsManager ( ) { if ( $ this -> _eventsManager === null ) { if ( $ this instanceof LocatorAwareInterface && $ this -> hasLocator ( ) ) { $ this -> _eventsManager = $ this -> getLocator ( ) -> get ( $ this -> getEventsManagerServiceId ( ) ) ; if ( ! $ this -> _eventsManager instanceof EventsManagerInterface ) { throw new NoEventsManager ( 'Event\'s manager must implement "EventsManagerInterface"' ) ; } } else { throw new NoEventsManager ( 'No Events manager been supplied, also unable to obtain one through locator' ) ; } } return $ this -> _eventsManager ; }
Get an events manager

@return EventsManagerInterface
Get an events manager