financeSvc = $financeSvc; } /** * Apply all of the expenses for a day * * @param CronNightly $event * * @throws \UnexpectedValueException * @throws \InvalidArgumentException * @throws \Prettus\Validator\Exceptions\ValidatorException */ public function handle(CronNightly $event): void { Log::info('Nightly: Applying daily expenses'); $this->financeSvc->processExpenses(ExpenseType::DAILY); } }