public function PhpFileLoaderTest::testLoad in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/translation/Tests/Loader/PhpFileLoaderTest.php \Symfony\Component\Translation\Tests\Loader\PhpFileLoaderTest::testLoad()
- 8 vendor/symfony/dependency-injection/Tests/Loader/PhpFileLoaderTest.php \Symfony\Component\DependencyInjection\Tests\Loader\PhpFileLoaderTest::testLoad()
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Tests/Loader/PhpFileLoaderTest.php \Symfony\Component\DependencyInjection\Tests\Loader\PhpFileLoaderTest::testLoad()
@covers Symfony\Component\DependencyInjection\Loader\PhpFileLoader::load
File
- vendor/
symfony/ dependency-injection/ Tests/ Loader/ PhpFileLoaderTest.php, line 34
Class
Namespace
Symfony\Component\DependencyInjection\Tests\LoaderCode
public function testLoad() {
$loader = new PhpFileLoader($container = new ContainerBuilder(), new FileLocator());
$loader
->load(__DIR__ . '/../Fixtures/php/simple.php');
$this
->assertEquals('foo', $container
->getParameter('foo'), '->load() loads a PHP file resource');
}