setName('maintenance:data-fingerprint') ->setDescription('update the systems data-fingerprint after a backup is restored'); } protected function execute(InputInterface $input, OutputInterface $output): int { $fingerPrint = md5($this->timeFactory->getTime()); $this->config->setSystemValue('data-fingerprint', $fingerPrint); $output->writeln('Updated data-fingerprint to ' . $fingerPrint . ''); return 0; } }