public function PhpFileLoaderTest::testLoadThrowsAnExceptionIfFileNotLocal in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/translation/Tests/Loader/PhpFileLoaderTest.php \Symfony\Component\Translation\Tests\Loader\PhpFileLoaderTest::testLoadThrowsAnExceptionIfFileNotLocal()
@expectedException \Symfony\Component\Translation\Exception\InvalidResourceException
File
- vendor/
symfony/ translation/ Tests/ Loader/ PhpFileLoaderTest.php, line 43
Class
Namespace
Symfony\Component\Translation\Tests\LoaderCode
public function testLoadThrowsAnExceptionIfFileNotLocal() {
$loader = new PhpFileLoader();
$resource = 'http://example.com/resources.php';
$loader
->load($resource, 'en', 'domain1');
}