*/ public array $backoff = [10, 30]; protected int $year; public function __construct(?int $year = null) { $this->year = $year ?? Date::now()->addYear()->year; throw_if( $this->year < 2026, \InvalidArgumentException::class ); } public function handle( Executor $executor, PublicHolidaysApiService $apiService, UpsertShopsPickupExceptionsForYear $action, ): void { $holidays = $apiService->fetchForYear($this->year); $executor->execute( $action, new UpsertShopsPickupExceptionsForYearInput($this->year, $holidays), ); } }