src/ContainerBuilder.php
private function getResolverMethodName(string $serviceName) : string 
    {
        if (!isset($this->normalizedServiceNames[$serviceName]))
        {
            throw new ContainerBuilderException("The '" . $serviceName . "' service has never been definied.");
        }

        return 'resolve' . $this->normalizedServiceNames[$serviceName];
    }
private function getResolverMethodName(string $serviceName) : string 
    {
        if (!isset($this->normalizedServiceNames[$serviceName]))
        {
            throw new ContainerBuilderException("The '" . $serviceName . "' service has never been definied.");
        }

        return 'resolve' . $this->normalizedServiceNames[$serviceName];
    }
Generate the service resolver method name for the given service

@param string            $serviceName
@return string