src/ServiceProvider/ServiceProviderLoader.php
private function getDecoratedServiceName(string $serviceName): string
    {
        $counter = 1;
        while ($this->compiler->has($serviceName.'_decorated_'.$counter)) {
            ++$counter;
        }

        return $serviceName.'_decorated_'.$counter;
    }
private function getDecoratedServiceName(string $serviceName): string
    {
        $counter = 1;
        while ($this->compiler->has($serviceName.'_decorated_'.$counter)) {
            ++$counter;
        }

        return $serviceName.'_decorated_'.$counter;
    }
@param string $serviceName

@return string