Phrozn\Runner\CommandLine\Parser::__construct PHP Method

__construct() public method

Create phrozn command
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
    }