quotaService = $quotaService; } protected function configure() { $this->setName('globalquota:recalc') ->setDescription('Recalculate global usage'); } protected function execute(InputInterface $input, OutputInterface $output) { $status = $this->quotaService->getStatus(true); $output->writeln("Recalculated usage: {$status['used_bytes']} bytes"); return 0; } }