resourceConfig = $resourceConfig; } /** * {@inheritdoc} */ protected function configure() { $this->setName(self::COMMAND_NAME) ->setDescription('Disable frontend template hints. A cache flush might be required.'); parent::configure(); } /** * {@inheritdoc} * @throws \InvalidArgumentException */ protected function execute(InputInterface $input, OutputInterface $output) { $this->resourceConfig->saveConfig('dev/debug/template_hints_storefront', 0, 'default', 0); $output->writeln("". self::SUCCESS_MESSAGE . ""); } }