From 16215bce4552e4ff8b9f5354f554b3cdb22b81a9 Mon Sep 17 00:00:00 2001 From: kevin Date: Fri, 6 Feb 2026 10:26:28 +0100 Subject: [PATCH] feat : ajout du service pour les jours feries --- .idea/SIRH.iml | 137 +++++++++++++- .idea/copilot.data.migration.agent.xml | 6 + .idea/copilot.data.migration.ask2agent.xml | 6 + .idea/dataSources.xml | 2 +- .idea/laravel-idea.xml | 8 + .idea/php.xml | 141 ++++++++++++++ composer.json | 1 + composer.lock | 176 +++++++++++++++++- config/reference.php | 2 +- src/ApiResource/PublicHoliday.php | 29 +++ src/Service/PublicHolidayService.php | 78 ++++++++ src/Service/PublicHolidayServiceInterface.php | 12 ++ src/State/PublicHolidayProvider.php | 24 +++ src/State/PublicHolidayYearProvider.php | 24 +++ 14 files changed, 642 insertions(+), 4 deletions(-) create mode 100644 .idea/copilot.data.migration.agent.xml create mode 100644 .idea/copilot.data.migration.ask2agent.xml create mode 100644 .idea/laravel-idea.xml create mode 100644 src/ApiResource/PublicHoliday.php create mode 100644 src/Service/PublicHolidayService.php create mode 100644 src/Service/PublicHolidayServiceInterface.php create mode 100644 src/State/PublicHolidayProvider.php create mode 100644 src/State/PublicHolidayYearProvider.php diff --git a/.idea/SIRH.iml b/.idea/SIRH.iml index bf4c9d3..c7c5054 100644 --- a/.idea/SIRH.iml +++ b/.idea/SIRH.iml @@ -1,7 +1,142 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.idea/copilot.data.migration.agent.xml b/.idea/copilot.data.migration.agent.xml new file mode 100644 index 0000000..2c0ecc2 --- /dev/null +++ b/.idea/copilot.data.migration.agent.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/copilot.data.migration.ask2agent.xml b/.idea/copilot.data.migration.ask2agent.xml new file mode 100644 index 0000000..e458f8c --- /dev/null +++ b/.idea/copilot.data.migration.ask2agent.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml index 7cf7a42..6b0c16f 100644 --- a/.idea/dataSources.xml +++ b/.idea/dataSources.xml @@ -5,7 +5,7 @@ postgresql true org.postgresql.Driver - jdbc:postgresql://localhost:5434/postgres + jdbc:postgresql://localhost:5433/postgres $ProjectFileDir$ diff --git a/.idea/laravel-idea.xml b/.idea/laravel-idea.xml new file mode 100644 index 0000000..2354ce3 --- /dev/null +++ b/.idea/laravel-idea.xml @@ -0,0 +1,8 @@ + + + + + + \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml index 50688a4..3be66db 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -10,10 +10,151 @@