_consoleOutput = $consoleOutput; $this->config($config); } /** * Initialize config & store config values * * @param null $config Config values to set * @return array|void */ public function config($config = null) { if ($config === null) { return $this->_config; } if (!$this->_configInitialized) { $this->_config = array_merge($this->_defaultConfig, $config); $this->_configInitialized = true; } else { $this->_config = array_merge($this->_config, $config); } } /** * This method should output content using `$this->_consoleOutput`. * * @param array $args The arguments for the helper. * @return void */ abstract public function output($args); }