public function CheckDefinitionValidityPassTest::testProcessDetectsSyntheticPrototypeDefinitions in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Tests/Compiler/CheckDefinitionValidityPassTest.php \Symfony\Component\DependencyInjection\Tests\Compiler\CheckDefinitionValidityPassTest::testProcessDetectsSyntheticPrototypeDefinitions()
@expectedException \Symfony\Component\DependencyInjection\Exception\RuntimeException
File
- vendor/
symfony/ dependency-injection/ Tests/ Compiler/ CheckDefinitionValidityPassTest.php, line 34
Class
Namespace
Symfony\Component\DependencyInjection\Tests\CompilerCode
public function testProcessDetectsSyntheticPrototypeDefinitions() {
$container = new ContainerBuilder();
$container
->register('a')
->setSynthetic(true)
->setScope(ContainerInterface::SCOPE_PROTOTYPE);
$this
->process($container);
}