20 lines
587 B
PHP
20 lines
587 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Service;
|
|
|
|
interface PublicHolidayServiceInterface
|
|
{
|
|
public function getHolidaysDay(string $zone): array;
|
|
|
|
public function getHolidaysDayByYears(string $zone, string $years): array;
|
|
|
|
/**
|
|
* Same as getHolidaysDayByYears but WITHOUT the configured exclusions applied.
|
|
* Used for legal/contractual computations (e.g. forfait 218 days) where excluded
|
|
* holidays (journée de solidarité) must still count as non-working days.
|
|
*/
|
|
public function getRawHolidaysDayByYears(string $zone, string $years): array;
|
|
}
|