Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
AbstractSetupCommand.php
Go to the documentation of this file.
1 <?php
7 
9 use Symfony\Component\Console\Command\Command;
10 use Symfony\Component\Console\Input\InputOption;
11 
16 abstract class AbstractSetupCommand extends Command
17 {
23  protected function configure()
24  {
25  $this->addOption(
27  null,
28  InputOption::VALUE_REQUIRED,
29  'Add to any command to customize Magento initialization parameters' . PHP_EOL .
30  'For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]' .
31  '=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"'
32  );
33  }
34 }