foreach($requirementsas$placeholder => $requirement){ if(\is_int($placeholder)){ thrownew \InvalidArgumentException(sprintf('A placeholder name must be a string (%d given). Did you forget to specify the placeholder key for the requirement "%s" of route "%s" in "%s::%s()"?', $placeholder, $requirement, $name, $class->getName(), $method->getName())); }
foreach($requirementsas$placeholder => $requirement){ if(\is_int($placeholder)){ thrownew \InvalidArgumentException(sprintf('A placeholder name must be a string (%d given). Did you forget to specify the placeholder key for the requirement "%s" of route "%s" in "%s::%s()"?', $placeholder, $requirement, $name, $class->getName(), $method->getName())); }
return true; }
/**
* Gets the public 'bar' shared service.
*
* @return \Symfony\Component\DependencyInjection\Tests\Fixtures\Bar
*/ protectedstaticfunctiongetBarService($container) { return$container->services['bar'] = new \Symfony\Component\DependencyInjection\Tests\Fixtures\Bar($container->getEnv('QUZ')); }
/**
* Gets the public 'test' shared service.
*
* @return object A %env(FOO)% instance
*/ protectedstaticfunctiongetTestService($container) { return$container->services['test'] = new ${($_ = $container->getEnv('FOO')) && false ?: "_"}($container->getEnv('Bar'), 'foo'.$container->getEnv('string:FOO').'baz', $container->getEnv('int:Baz')); }