framework = $framework; parent::__construct(); } protected function configure(): void { $this ->setName('luumicore:sendSlotNotifications') ->setDescription('Sends notifications about newly added or modified slots once they\'re bookable.') ; } protected function execute(InputInterface $input, OutputInterface $output): int { $this->framework->initialize(); /** @var SendSlotChangeNotificationJob $wa_service */ $wa_service = System::getContainer()->get("vonrotenberg.cron.wa_slot_notifications"); $wa_service('cli'); return 0; } }