public function PhpDumperTest::testServicesWithAnonymousFactories in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/dependency-injection/Tests/Dumper/PhpDumperTest.php \Symfony\Component\DependencyInjection\Tests\Dumper\PhpDumperTest::testServicesWithAnonymousFactories()
File
- vendor/
symfony/ dependency-injection/ Tests/ Dumper/ PhpDumperTest.php, line 137
Class
Namespace
Symfony\Component\DependencyInjection\Tests\DumperCode
public function testServicesWithAnonymousFactories() {
$container = (include self::$fixturesPath . '/containers/container19.php');
$dumper = new PhpDumper($container);
$this
->assertStringEqualsFile(self::$fixturesPath . '/php/services19.php', $dumper
->dump(), '->dump() dumps services with anonymous factories');
}