From 5b9d0117b7efb69187ef2353b4c0dc48c6d81bd0 Mon Sep 17 00:00:00 2001 From: lionel Date: Tue, 27 Jun 2017 11:33:17 +0200 Subject: [PATCH] exemple d'ajout de documentation --- model/dao/UserDAO.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/model/dao/UserDAO.php b/model/dao/UserDAO.php index c571e74..712d582 100644 --- a/model/dao/UserDAO.php +++ b/model/dao/UserDAO.php @@ -14,7 +14,12 @@ */ class UserDAO { - + /** + * sauvegarde un utilisateur en bdd + * @param type $user tableau associatif + * @return boolean true si insertion ok + * @throws AlreadyExistException si l'utilisateur existe déjà + */ public static function save($user){ $bdd = connectDB();