'setGlobalOptions']; } /** * Before a Console command runs, examine the global * commandline options from the event Input, and set * configuration values as appropriate. * * @param ConsoleCommandEvent $event */ public function setGlobalOptions(ConsoleCommandEvent $event) { /* @var Input $input */ $input = $event->getInput(); $output = $event->getOutput(); // TODO: We need a good strategy for managing global options. // $simulate = $input->getOption('simulate'); // Set up legacy contexts (deprecated) LegacyPreflight::setGlobalOptionContexts($input, $output); } }