MiniAsset\Cli\BaseTask::config PHP Method

config() public method

Get the injected config or build a config object from the CLI option.
public config ( ) : AssetConfig
return MiniAsset\AssetConfig
    public function config()
    {
        if (!$this->config) {
            $config = new AssetConfig();
            $config->load($this->cli->arguments->get('config'));
            $this->config = $config;
        }
        return $this->config;
    }