public function CheckDefinitionValidityPassTest::testLegacyProcessDetectsBothFactorySyntaxesUsed 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::testLegacyProcessDetectsBothFactorySyntaxesUsed()
@expectedException \Symfony\Component\DependencyInjection\Exception\RuntimeException @group legacy
File
- vendor/
symfony/ dependency-injection/ Tests/ Compiler/ CheckDefinitionValidityPassTest.php, line 57
Class
Namespace
Symfony\Component\DependencyInjection\Tests\CompilerCode
public function testLegacyProcessDetectsBothFactorySyntaxesUsed() {
$container = new ContainerBuilder();
$container
->register('a')
->setFactory(array(
'a',
'b',
))
->setFactoryClass('a');
$this
->process($container);
}