diff --git a/Project/php/User.php b/Project/php/User.php new file mode 100644 index 0000000..d081eba --- /dev/null +++ b/Project/php/User.php @@ -0,0 +1,37 @@ +id = $id; + $this->mail = $mail; + $this->nom = $nom; + $this->prenom = $prenom; + } + + protected function changeMail(String $newMail){ + $this->mail = $newMail; + } + + protected function changeNom(String $newNom){ + $this->nom = $newNom; + } + + protected function changePrenom(String $newPrenom){ + $this->prenom = $newPrenom; + } +} \ No newline at end of file diff --git a/Project/php/index.php b/Project/php/index.php index e69de29..ba2e1f6 100644 --- a/Project/php/index.php +++ b/Project/php/index.php @@ -0,0 +1,5 @@ + \ No newline at end of file