src/ContainerBuilder.php
private function generateNormalizedServiceName(string $serviceName) 
    {
        $normalizedServiceName = $this->camelizeServiceName($serviceName);

        $duplicateCounter = 0;
        $countedNormalizedServiceName = $normalizedServiceName;
        while(in_array($countedNormalizedServiceName, $this->normalizedServiceNames))
        {
            $duplicateCounter++;
            $countedNormalizedServiceName = $normalizedServiceName . $duplicateCounter;
        }

        $this->normalizedServiceNames[$serviceName] = $countedNormalizedServiceName;
    }
private function generateNormalizedServiceName(string $serviceName) 
    {
        $normalizedServiceName = $this->camelizeServiceName($serviceName);

        $duplicateCounter = 0;
        $countedNormalizedServiceName = $normalizedServiceName;
        while(in_array($countedNormalizedServiceName, $this->normalizedServiceNames))
        {
            $duplicateCounter++;
            $countedNormalizedServiceName = $normalizedServiceName . $duplicateCounter;
        }

        $this->normalizedServiceNames[$serviceName] = $countedNormalizedServiceName;
    }
Generates the "normalizedServiceNames" array.

@param string            $serviceName
@return void