From 09c3c722d672a3668d8c767be6c77455e529d30b Mon Sep 17 00:00:00 2001 From: "anthony.richard" Date: Tue, 7 Nov 2023 20:37:13 +0100 Subject: [PATCH] rangement fichiers et namespaces --- Project/php/composer.json | 3 ++- Project/php/composer.phar | Bin Project/php/config/Validation.php | 0 .../php/{controleur => controller}/Controleur.php | 2 +- .../php/{model => controller}/FrontController.php | 0 .../php/{model => controller}/StudentController.php | 0 Project/php/{model => gateway}/GroupGateway.php | 7 ++----- Project/php/{model => gateway}/UserGateway.php | 5 +---- .../php/{model => gateway}/VocabularyGateway.php | 7 +------ Project/php/model/Group.php | 2 -- Project/php/model/MdlStudent.php | 3 --- 11 files changed, 7 insertions(+), 22 deletions(-) mode change 100644 => 100755 Project/php/composer.json mode change 100644 => 100755 Project/php/composer.phar mode change 100644 => 100755 Project/php/config/Validation.php rename Project/php/{controleur => controller}/Controleur.php (95%) mode change 100644 => 100755 rename Project/php/{model => controller}/FrontController.php (100%) mode change 100644 => 100755 rename Project/php/{model => controller}/StudentController.php (100%) rename Project/php/{model => gateway}/GroupGateway.php (96%) mode change 100644 => 100755 rename Project/php/{model => gateway}/UserGateway.php (99%) rename Project/php/{model => gateway}/VocabularyGateway.php (95%) diff --git a/Project/php/composer.json b/Project/php/composer.json old mode 100644 new mode 100755 index 05b57b9..125a32b --- a/Project/php/composer.json +++ b/Project/php/composer.json @@ -4,8 +4,9 @@ }, "autoload": { "psr-4": { - "controleur\\": "controleur/", "config\\": "config/", + "controller\\": "controller/", + "gateway\\": "gateway/", "model\\": "model/" } } diff --git a/Project/php/composer.phar b/Project/php/composer.phar old mode 100644 new mode 100755 diff --git a/Project/php/config/Validation.php b/Project/php/config/Validation.php old mode 100644 new mode 100755 diff --git a/Project/php/controleur/Controleur.php b/Project/php/controller/Controleur.php old mode 100644 new mode 100755 similarity index 95% rename from Project/php/controleur/Controleur.php rename to Project/php/controller/Controleur.php index 8e4b61d..25f0889 --- a/Project/php/controleur/Controleur.php +++ b/Project/php/controller/Controleur.php @@ -1,7 +1,7 @@