diff --git a/class/client.php b/class/client.php index 482e91ced2036031a2f76241adc1568485ce3d98..8b45b2ca197c3214dfe1df48b843603d4fec7470 100644 --- a/class/client.php +++ b/class/client.php @@ -2,7 +2,7 @@ class Client extends Personne { - private $numTel; + protected $numTel; public function numTel() { diff --git a/class/personne.php b/class/personne.php index 6ebb0fde6c920e6af89394fc5de0e2de0632632f..aac3ab9f95d165da1a4dc1347b4a2f40d9a1d5a9 100644 --- a/class/personne.php +++ b/class/personne.php @@ -2,9 +2,9 @@ class Personne extends Objet { - private $id; - private $nom; - private $prenom; + protected $id; + protected $nom; + protected $prenom; public function id() {