Cascade\Config\Loader\FileLoader\Yaml::load PHP Method

load() public method

Load a Yaml string/file
public load ( string $resource, string | null $type = null ) : array
$resource string Yaml string or file path to a Yaml file
$type string | null Not used
return array Array containing data from the parse Yaml string or file
    public function load($resource, $type = null)
    {
        return YamlParser::parse($this->readFrom($resource));
    }