public __construct ( array $paths ) | ||
$paths | array | Folder paths |
public function __construct($paths)
{
// load main config
$config = Yaml::parse($paths['configs'] . 'phrozn.yml');
parent::__construct($config['command']);
$this->configureCommand($paths, $config);
// load all necessary sub-commands
}