Thanks to visit codestin.com Credit goes to github.com
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 9c0e585 commit e7e7cb1Copy full SHA for e7e7cb1
reference/YAML.rst
@@ -48,13 +48,13 @@ occurred::
48
different YAML strings.
49
50
When loading a YAML file, it is sometimes better to use the
51
-:method:`Symfony\\Component\\Yaml\\Yaml::load` wrapper method::
+:method:`Symfony\\Component\\Yaml\\Yaml::parse` wrapper method::
52
53
use Symfony\Component\Yaml\Yaml;
54
55
- $loader = Yaml::load('/path/to/file.yml');
+ $loader = Yaml::parse('/path/to/file.yml');
56
57
-The ``Yaml::load()`` static method takes a YAML string or a file containing
+The ``Yaml::parse()`` static method takes a YAML string or a file containing
58
YAML. Internally, it calls the ``Parser::parse()`` method, but with some added
59
bonuses:
60
0 commit comments