/** * {@inheritdoc} */ protected function execute(InputInterface $input, OutputInterface $output) { $output->writeln(sprintf('%s version %s', $this->application->getName(), $this->application->getVersion())); $output->writeln(''); $debug = $this->configurationLoader->debugInformation(); $output->writeln('--- configuration'); $output->writeln(sprintf(' environment variable (%s): %s', $debug['environment_variable_name'], $debug['environment_variable_content'])); $output->writeln(sprintf(' configuration file: %s', $debug['configuration_file_path'])); $output->writeln(''); $debug = $this->extensionManager->debugInformation(); $output->writeln('--- extensions'); $output->writeln(sprintf(' extensions loaded: %s', count($debug['extensions_list']) ? implode(', ', $debug['extensions_list']) : 'none')); $output->writeln(''); }