public function get($name) { if (!isset($this->geolocators[$name])) { throw new Exception\GeolocatorNotFoundException(sprintf('Attempt to retrieve unknown geolocator "%s"', $name)); } return $this->container->get($this->geolocators[$name]); }