src/Container.php
public function getServiceResolverType(string $serviceName) : int
    {
        if (!isset($this->serviceResolverType[$serviceName]))
        {
            throw new UnknownServiceException('There is no type for the service named "' . $serviceName . '" specified.');
        }

        return $this->serviceResolverType[$serviceName];
    }
public function getServiceResolverType(string $serviceName) : int
    {
        if (!isset($this->serviceResolverType[$serviceName]))
        {
            throw new UnknownServiceException('There is no type for the service named "' . $serviceName . '" specified.');
        }

        return $this->serviceResolverType[$serviceName];
    }
Get the resolver type of the given service name.

@param string                $serviceName
@return int