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.
SAE_2A_FA-Reseau_ALICA/php/modeles/UtilisateurModele.php

42 lines
849 B

<?php
namespace modeles;
class UtilisateurModele
{
/**
* @description Charger le flux d'activiter
* @return array flux
*/
public function LoadFeed() : array
{
// TO DO
return [];
}
/**
* @description se connecter
* @param string email
* @param string hash
1 year ago
* @return \Compte
*/
1 year ago
public function Login(string $email,string $hash) : \Compte
{
// TO DO
1 year ago
return new \Compte(null,null,null);
}
/**
* @description s'inscrire
* @param string email
* @param string hash
* @param string $pseudo
1 year ago
* @return \Compte chargé
*/
1 year ago
public function signIn(string $email,string $pseudo,string $hash) : \Compte
{
// TO DO
return new Compte(null,null,null);
}
}