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