Phrozn\Runner\CommandLine\Parser::__construct PHP 메소드

__construct() 공개 메소드

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
    }