From dedbe2f5cee33431c1299c7f0dbef4e247dc2447 Mon Sep 17 00:00:00 2001 From: polo Date: Mon, 19 Dec 2022 02:51:03 +0100 Subject: nouveau client main.php en cours --- src/model/Locations.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/model/Locations.php') diff --git a/src/model/Locations.php b/src/model/Locations.php index 2aa175a..b788d43 100644 --- a/src/model/Locations.php +++ b/src/model/Locations.php @@ -15,10 +15,7 @@ class Locations extends Model private $loyer_mensuel; private $total_HT; - public function __construct() - { - $this->table = strtolower(__CLASS__); - } + use ModelChildren; // setters public function setID(int $value) -- cgit v1.2.3