quotaService = $quotaService; } protected function configure() { $this->setName('globalquota:set') ->setDescription('Set global quota in bytes') ->addArgument('bytes', InputArgument::REQUIRED, 'Quota in bytes'); } protected function execute(InputInterface $input, OutputInterface $output) { $bytes = (int)$input->getArgument('bytes'); $this->quotaService->setQuota($bytes); $output->writeln("Global quota set to $bytes bytes"); return 0; } }