framework = $framework; parent::__construct(); } protected function configure(): void { $this ->setName('secureDownloads:sendNotifications') ->setDescription('Sends notifications about newly added files.') ; } protected function execute(InputInterface $input, OutputInterface $output): int { $this->framework->initialize(); $secdl_service = System::getContainer()->get("vonrotenberg.cron.secure_downloads_service"); $secdl_service->sendFileNotifications('cli'); return 0; } }