|
@@ 247-249 (lines=3) @@
|
| 244 |
|
} |
| 245 |
|
|
| 246 |
|
// query whether or not a system name has been specified as command line option, if yes override the value from the configuration file |
| 247 |
|
if (($this->input->hasOptionSpecified(InputOptionKeys::SYSTEM_NAME) && $this->input->getOption(InputOptionKeys::SYSTEM_NAME)) || $instance->getSystemName() === null) { |
| 248 |
|
$instance->setSystemName($this->input->getOption(InputOptionKeys::SYSTEM_NAME)); |
| 249 |
|
} |
| 250 |
|
|
| 251 |
|
// query whether or not a PID filename has been specified as command line option, if yes override the value from the configuration file |
| 252 |
|
if (($this->input->hasOptionSpecified(InputOptionKeys::PID_FILENAME) && $this->input->getOption(InputOptionKeys::PID_FILENAME)) || $instance->getPidFilename() === null) { |
|
@@ 252-254 (lines=3) @@
|
| 249 |
|
} |
| 250 |
|
|
| 251 |
|
// query whether or not a PID filename has been specified as command line option, if yes override the value from the configuration file |
| 252 |
|
if (($this->input->hasOptionSpecified(InputOptionKeys::PID_FILENAME) && $this->input->getOption(InputOptionKeys::PID_FILENAME)) || $instance->getPidFilename() === null) { |
| 253 |
|
$instance->setPidFilename($this->input->getOption(InputOptionKeys::PID_FILENAME)); |
| 254 |
|
} |
| 255 |
|
|
| 256 |
|
// query whether or not a Magento installation directory has been specified as command line option, if yes override the value from the configuration file |
| 257 |
|
if (($this->input->hasOptionSpecified(InputOptionKeys::INSTALLATION_DIR) && $this->input->getOption(InputOptionKeys::INSTALLATION_DIR)) || $instance->getInstallationDir() === null) { |
|
@@ 257-259 (lines=3) @@
|
| 254 |
|
} |
| 255 |
|
|
| 256 |
|
// query whether or not a Magento installation directory has been specified as command line option, if yes override the value from the configuration file |
| 257 |
|
if (($this->input->hasOptionSpecified(InputOptionKeys::INSTALLATION_DIR) && $this->input->getOption(InputOptionKeys::INSTALLATION_DIR)) || $instance->getInstallationDir() === null) { |
| 258 |
|
$instance->setInstallationDir($this->input->getOption(InputOptionKeys::INSTALLATION_DIR)); |
| 259 |
|
} |
| 260 |
|
|
| 261 |
|
// query whether or not a Magento edition has been specified as command line option, if yes override the value from the configuration file |
| 262 |
|
if (($this->input->hasOptionSpecified(InputOptionKeys::MAGENTO_EDITION) && $this->input->getOption(InputOptionKeys::MAGENTO_EDITION)) || $instance->getMagentoEdition() === null) { |
|
@@ 262-264 (lines=3) @@
|
| 259 |
|
} |
| 260 |
|
|
| 261 |
|
// query whether or not a Magento edition has been specified as command line option, if yes override the value from the configuration file |
| 262 |
|
if (($this->input->hasOptionSpecified(InputOptionKeys::MAGENTO_EDITION) && $this->input->getOption(InputOptionKeys::MAGENTO_EDITION)) || $instance->getMagentoEdition() === null) { |
| 263 |
|
$instance->setMagentoEdition($this->input->getOption(InputOptionKeys::MAGENTO_EDITION)); |
| 264 |
|
} |
| 265 |
|
|
| 266 |
|
// query whether or not a directory for the source files has been specified as command line option, if yes override the value from the configuration file |
| 267 |
|
if (($this->input->hasOptionSpecified(InputOptionKeys::SOURCE_DIR) && $this->input->getOption(InputOptionKeys::SOURCE_DIR)) || $instance->getSourceDir() === null) { |
|
@@ 267-269 (lines=3) @@
|
| 264 |
|
} |
| 265 |
|
|
| 266 |
|
// query whether or not a directory for the source files has been specified as command line option, if yes override the value from the configuration file |
| 267 |
|
if (($this->input->hasOptionSpecified(InputOptionKeys::SOURCE_DIR) && $this->input->getOption(InputOptionKeys::SOURCE_DIR)) || $instance->getSourceDir() === null) { |
| 268 |
|
$instance->setSourceDir($this->input->getOption(InputOptionKeys::SOURCE_DIR)); |
| 269 |
|
} |
| 270 |
|
|
| 271 |
|
// return the initialized configuration instance |
| 272 |
|
return $instance; |