src/Sulu/Bundle/LocationBundle/Geolocator/GeolocatorManager.php
public function get($name)
    {
        if (!isset($this->geolocators[$name])) {
            throw new GeolocatorNotFoundException(
                sprintf(
                    'Attempt to retrieve unknown geolocator "%s"',
                    $name
                )
            );
        }

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

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

@param string $name

@return GeolocatorInterface
Retrieve the named name .