public function get($serviceKey)
    {
        $serviceId = $this->getServiceId($serviceKey);
        if (!isset($this->services[$serviceId])) {
            $this->services[$serviceId] = $this->load($serviceId, $serviceKey);
        }
        return $this->services[$serviceId];
    }
public function get($serviceKey)
    {
        $serviceId = $this->getServiceId($serviceKey);
        if (!isset($this->services[$serviceId])) {
            $this->services[$serviceId] = $this->load($serviceId, $serviceKey);
        }
        return $this->services[$serviceId];
    }
public function get ( $ serviceKey ) { $ serviceId = $ this -> getServiceId ( $ serviceKey ) ; if ( ! isset ( $ this -> services [ $ serviceId ] ) ) { $ this -> services [ $ serviceId ] = $ this -> load ( $ serviceId , $ serviceKey ) ; } return $ this -> services [ $ serviceId ] ; }
Returns the service configured for the serviceKey
or throws a ServiceNotFoundException

@param string $serviceKey
@return ConfigurableService
@throws ServiceNotFoundException
@see ContainerInterface::get()
Returns the service configured for the serviceKey or throws a ServiceNotFoundException