logger) { $child->setLogger($this->logger); } if ($child instanceof ProgressIndicatorAwareInterface && $this->progressIndicator) { $child->setProgressIndicator($this->progressIndicator); } if ($child instanceof ConfigAwareInterface && $this->getConfig()) { $child->setConfig($this->getConfig()); } if ($child instanceof VerbosityThresholdInterface && $this->outputAdapter()) { $child->setOutputAdapter($this->outputAdapter()); } } }