You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Projet_ToDoList_Php/src/Modele/ModeleUtilisateur.php

29 lines
352 B

<?php
namespace modeles;
class Modele
{
public function __construct(){
}
public static function CreerUtilisateur(){
$userGtw = new UtilisateurGateway();
$verif = Validation::val_form_user();
if($verif == false){
throw new Exception();
}
$userGtw->AjouterUtilisateur();
}
}