From f27cca08ff786ceff1870147f6d6bad14d71117f Mon Sep 17 00:00:00 2001 From: polo Date: Fri, 23 Oct 2026 00:47:32 +0200 Subject: =?UTF-8?q?dossiers=20avec=20majuscule,=20namespace=20pour=20toute?= =?UTF-8?q?s=20les=20classes,=20autoload=20psr-4,=20UserDataService::creat?= =?UTF-8?q?eZip=20d=C3=A9plac=C3=A9=20dans=20Backup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/model/entities/Log.php | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 src/model/entities/Log.php (limited to 'src/model/entities/Log.php') diff --git a/src/model/entities/Log.php b/src/model/entities/Log.php deleted file mode 100644 index 222b8db..0000000 --- a/src/model/entities/Log.php +++ /dev/null @@ -1,38 +0,0 @@ - 'CURRENT_TIMESTAMP'])] // CURRENT_TIMESTAMP "inutile", date générée par PHP - private \DateTime $date_time; // type datetime de doctrine <=> type \DateTime de PHP - - #[ORM\Column(type: "boolean")] - private bool $success; - - public function __construct(bool $success){ - $this->date_time = new \DateTime; - $this->success = $success; - } - - public function getFormatedDate(): string - { - return $this->date_time->format('d/m/Y à H\hi'); - } - public function getSuccess(): bool - { - return $this->success; - } -} -- cgit v1.2.3