Phrozn\Runner\CommandLine\Command::load PHP Method

load() private method

Loading happens only once, after that cached info is returned
private load ( string $file ) : array
$file string Config file path
return array Array of loaded config data
    private function load($file)
    {
        if (null === $this->command) {
            $this->command = Yaml::parse($file);
        }
        return $this->command;
    }