-
__construct($yaml, $section = null, $options = false); Constructor.
$yamlshould refer to a valid filesystem location containing a YAML configuration file.$section, if specified, indicates a specific section of the configuration file to use.$optionsis discussed in the options section.-
decode($yaml); Parses a YAML string into a PHP array.
-
setIgnoreConstants($flag); This static function may be used to globally override the default settings for how constants found in YAML strings are handled. By default, constant names are replaced with the appropriate constant values; passing a boolean
truevalue to this method will override that behavior. (You can override it per-instance via theignore_constantsoption as well.)-
ignoreConstants(); This static method gives you the current setting for the
ignore_constantsflag.




