public static function deleteCommentaire($id) { $model = new ModelCommentaire(); $model->setData(CommentaireGateway::deleteCommentaire($model->error, $id)); return $model; }