<?php

declare(strict_types=1);

namespace App\Repository\Contract;

use App\Entity\Employee;
use App\Entity\EmployeeContractPeriod;
use DateTimeImmutable;

interface EmployeeContractPeriodReadRepositoryInterface
{
    public function findOneCoveringDate(Employee $employee, DateTimeImmutable $date): ?EmployeeContractPeriod;

    public function findLatestPeriod(Employee $employee): ?EmployeeContractPeriod;
}
