9 use Symfony\Component\Console\Command\Command;
10 use Symfony\Component\Console\Input\InputInterface;
11 use Symfony\Component\Console\Output\OutputInterface;
29 private $resourceConfig;
38 parent::__construct();
39 $this->resourceConfig = $resourceConfig;
47 $this->setName(self::COMMAND_NAME)
48 ->setDescription(
'Disable frontend template hints. A cache flush might be required.');
59 $this->resourceConfig->saveConfig(
'dev/debug/template_hints_storefront', 0,
'default', 0);
60 $output->writeln(
"<info>". self::SUCCESS_MESSAGE .
"</info>");
execute(InputInterface $input, OutputInterface $output)
__construct(ConfigInterface $resourceConfig)