We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f82c6f commit 9a620c4Copy full SHA for 9a620c4
components/class_loader/psr4_class_loader.rst
@@ -55,7 +55,7 @@ first need to configure the ``Psr4ClassLoader``:
55
$loader->addPrefix('Symfony\\Component\\Yaml\\', __DIR__.'/lib/Yaml');
56
$loader->register();
57
58
- $data = Yaml::parse(__DIR__.'/config.yml');
+ $data = Yaml::parse(file_get_contents(__DIR__.'/config.yml'));
59
60
First of all, the class loader is loaded manually using a ``require``
61
statement, since there is no autoload mechanism yet. With the
0 commit comments