From 00842ea8d8c1b8684086d5d9ffc5b30077944ff1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20Enault?= Date: Wed, 25 Oct 2023 09:43:14 +0200 Subject: [PATCH] Ajout de la classe vocabulary --- Project/php/Vocabulaire.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 Project/php/Vocabulaire.php diff --git a/Project/php/Vocabulaire.php b/Project/php/Vocabulaire.php new file mode 100755 index 0000000..d5660e8 --- /dev/null +++ b/Project/php/Vocabulaire.php @@ -0,0 +1,24 @@ +id = $id; + $this->nom = $nom; + $this->picture = $picture; + $this->creator = $creator; + } + + protected function changePicture(Picture $newImg){ + $this->picture = $newImg; + } +} +