framework = $framework; parent::__construct(); } protected function configure(): void { $this ->setName('secureDownloads:import') ->setDescription('Check source folder and import files if applicable.') ; } protected function execute(InputInterface $input, OutputInterface $output): int { $this->framework->initialize(); $secdl_service = System::getContainer()->get("vonrotenberg.cron.secure_downloads_service"); $secdl_service->importFiles('cli'); return 0; } }