src/Populator.php
public function load(string $file)
    {
        $this->data = Yaml::parse(file_get_contents($file));
        $this->filename = basename($file);
    }
public function load(string $file)
    {
        $this->data = Yaml::parse(file_get_contents($file));
        $this->filename = basename($file);
    }
public function load ( string $ file ) { $ this -> data = Yaml :: parse ( file_get_contents ( $ file ) ) ; $ this -> filename = basename ( $ file ) ; }
Loads a YAML file to be processed

@param string $file Path to YAML source file
Loads a YAML file to be processed