<?php

declare(strict_types=1);

namespace Toby\Domain\Validation\Rules;

use Toby\Eloquent\Models\VacationRequest;

interface VacationRequestRule
{
    public function check(VacationRequest $vacationRequest): bool;

    public function errorMessage(): string;
}
