Phrozn\Runner\CommandLine\Commands::load PHP Метод

load() приватный Метод

Loading happens only once, after that cached info is returned
private load ( string $file ) : array
$file string Config file name
Результат array Array of loaded config data
    private function load($file)
    {
        if (!isset($this->commands[$file])) {
            $this->commands[$file] = Yaml::parse($file);
        }
        return $this->commands[$file];
    }