From 08dfc9125edf35ccbe3a6e21d9a9918c4b7fd6e9 Mon Sep 17 00:00:00 2001 From: polo Date: Fri, 8 May 2026 18:14:38 +0200 Subject: page maintenance: voir/supprimer les logs et lien vers voir les e-mails, suppression des modes de fonctionnement --- src/model/entities/Log.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/model/entities/Log.php') diff --git a/src/model/entities/Log.php b/src/model/entities/Log.php index eeb76e4..222b8db 100644 --- a/src/model/entities/Log.php +++ b/src/model/entities/Log.php @@ -26,4 +26,13 @@ class Log $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