protected function getLocatorByServiceId($id) {
		if (isset($this->_locatorsResolved[$id])) {
			return $this->_locatorsResolved[$id];
		}
		
		foreach ($this->_locators as $locator) {
			if ($locator->has($id)) {
				$this->_locatorsResolved[$id] = $locator;
				return $locator;
			}
		}
	}
protected function getLocatorByServiceId($id) {
		if (isset($this->_locatorsResolved[$id])) {
			return $this->_locatorsResolved[$id];
		}
		
		foreach ($this->_locators as $locator) {
			if ($locator->has($id)) {
				$this->_locatorsResolved[$id] = $locator;
				return $locator;
			}
		}
	}
protected function getLocatorByServiceId ( $ id ) { if ( isset ( $ this -> _locatorsResolved [ $ id ] ) ) { return $ this -> _locatorsResolved [ $ id ] ; } foreach ( $ this -> _locators as $ locator ) { if ( $ locator -> has ( $ id ) ) { $ this -> _locatorsResolved [ $ id ] = $ locator ; return $ locator ; } } }
Get resolve locator by service ID

@param  string $id Service ID
@return LocatorInterface
Get resolve locator by service ID