protected function init($name, $value, $index, IConfig $config, array $allowedValues, array $consoleConfig, ScriptParams $scriptParams)
 {
     parent::init($name, $value, $index, $config, $allowedValues, $consoleConfig, $scriptParams);
     $this->databaseConnectionFields = $this->consoleConfig['db_fields'];
 }
Exemplo n.º 2
0
 public function __construct($name, $value, $index, IConfig $config, array $allowedValues, $consoleConfig, ScriptParams $scriptParams)
 {
     $allowedValues = array('enable', 'disable');
     parent::__construct($name, $value, $index, $config, $allowedValues, $consoleConfig, $scriptParams);
 }