setName('encryption:disable') ->setDescription('Disable encryption') ; } #[\Override] protected function execute(InputInterface $input, OutputInterface $output): int { $isEnabled = $this->appConfig->getValueBool('core', 'encryption_enabled', false); if (!$isEnabled) { $output->writeln('Encryption is already disabled'); } else { $this->appConfig->setValueBool('core', 'encryption_enabled', false); $output->writeln('Encryption disabled'); } return 0; } }