You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Symfony/Component/Yaml/Yaml.php
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,8 @@ class Yaml
38
38
* you must validate the input before calling this method. Passing a file
39
39
* as an input is a deprecated feature and will be removed in 3.0.
40
40
*
41
+
* Note: the ability to pass file names to the Yaml::parse method is deprecated since version 2.2 and will be removed in 3.0. Pass the YAML contents of the file instead.
42
+
*
41
43
* @param string $input Path to a YAML file or a string containing YAML
42
44
* @param bool $exceptionOnInvalidType True if an exception must be thrown on invalid types false otherwise
43
45
* @param bool $objectSupport True if object support is enabled, false otherwise
0 commit comments