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 { $this->financeSvc->processExpenses(ExpenseType::DAILY); } }