Files
SIRH/src/Repository/Contract/FormationReadRepositoryInterface.php
tristan 4cd30de3e3
Some checks failed
Auto Tag Develop / tag (push) Has been cancelled
feat : ajout d'un onglet formation
2026-04-13 09:41:36 +02:00

27 lines
596 B
PHP

<?php
declare(strict_types=1);
namespace App\Repository\Contract;
use App\Entity\Employee;
use App\Entity\Formation;
use DateTimeImmutable;
interface FormationReadRepositoryInterface
{
/**
* @param list<Employee> $employees
*
* @return list<Formation>
*/
public function findByDateAndEmployees(DateTimeImmutable $date, array $employees): array;
/**
* @param list<Employee> $employees
*
* @return list<Formation>
*/
public function findByDateRangeAndEmployees(DateTimeImmutable $from, DateTimeImmutable $to, array $employees): array;
}