All checks were successful
Auto Tag Develop / tag (push) Successful in 5s
| Numéro du ticket | Titre du ticket | |------------------|-----------------| | #322 | Page horaire | ## Description de la PR [#322] Page horaire ## Modification du .env ## Check list - [ ] Pas de régression - [ ] TU/TI/TF rédigée - [ ] TU/TI/TF OK - [ ] CHANGELOG modifié Reviewed-on: #4 Co-authored-by: tristan <tristan@yuno.malio.fr> Co-committed-by: tristan <tristan@yuno.malio.fr>
33 lines
765 B
PHP
33 lines
765 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Repository\Contract;
|
|
|
|
use App\Entity\Absence;
|
|
use App\Entity\Employee;
|
|
use DateTimeImmutable;
|
|
use DateTimeInterface;
|
|
|
|
interface AbsenceReadRepositoryInterface
|
|
{
|
|
/**
|
|
* @param list<Employee> $employees
|
|
*
|
|
* @return list<Absence>
|
|
*/
|
|
public function findForPrint(DateTimeImmutable $from, DateTimeImmutable $to, array $employees): array;
|
|
|
|
/**
|
|
* @param list<Employee> $employees
|
|
*
|
|
* @return list<Absence>
|
|
*/
|
|
public function findByDateAndEmployees(DateTimeImmutable $date, array $employees): array;
|
|
|
|
/**
|
|
* @return list<Absence>
|
|
*/
|
|
public function findByEmployeeAndDateRange(Employee $employee, DateTimeInterface $from, DateTimeInterface $to): array;
|
|
}
|