ldc-cocotte/app/Cqs/Queries/PickupExceptions/HasAutoUpdatedPickupExceptionsForYearQueryInput.php
Jérémy Munsch faef51091e
feat(pickup-exceptions): implement upsert and query for public holidays
Added functionality to upsert pickup exceptions for public holidays
and query for auto-updated exceptions. This includes new classes
for handling input and service integration with the public holidays API.
2026-11-15 20:04:29 +01:00

17 lines
356 B
PHP

<?php
declare(strict_types=1);
namespace App\Cqs\Queries\PickupExceptions;
use App\Contracts\QueryInput;
use Webmozart\Assert\Assert;
final readonly class HasAutoUpdatedPickupExceptionsForYearQueryInput implements QueryInput
{
public function __construct(
public int $year,
) {
Assert::greaterThanEq($this->year, 2026);
}
}