public function getLocator() {
		if ($this->_locator === null) {
			$di = $this->getDi();
		
			if (! $di instanceof LocatorInterface) {
				throw new NoLocator('Hasn\'t been locator provided');
			}
			
			$this->_locator = $di;
		}
		
		return $this->_locator;
	}
public function getLocator() {
		if ($this->_locator === null) {
			$di = $this->getDi();
		
			if (! $di instanceof LocatorInterface) {
				throw new NoLocator('Hasn\'t been locator provided');
			}
			
			$this->_locator = $di;
		}
		
		return $this->_locator;
	}
public function getLocator ( ) { if ( $ this -> _locator === null ) { $ di = $ this -> getDi ( ) ; if ( ! $ di instanceof LocatorInterface ) { throw new NoLocator ( 'Hasn\'t been locator provided' ) ; } $ this -> _locator = $ di ; } return $ this -> _locator ; }
Get a services' locator

@return LocatorInterface
Get a services locator