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 edec5d7 commit a436568Copy full SHA for a436568
Yaml.php
@@ -41,6 +41,10 @@ public static function enablePhpParsing()
41
* print_r($array);
42
* </code>
43
*
44
+ * As this method accepts both plain strings and file names as an input,
45
+ * you must validate the input before calling this method. Passing a file
46
+ * as an input is a deprecated feature and will be removed in 3.0.
47
+ *
48
* @param string $input Path to a YAML file or a string containing YAML
49
50
* @return array The YAML converted to a PHP array
0 commit comments