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.
|
|
|
<?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
|
|
|
|
* @return \Alumni
|
|
|
|
*/
|
|
|
|
public function Login(string $email,string $hash) : \Alumni
|
|
|
|
{
|
|
|
|
// TO DO
|
|
|
|
return new \Alumni(null,null,null);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @description s'inscrire
|
|
|
|
* @param string email
|
|
|
|
* @param string hash
|
|
|
|
* @param string $pseudo
|
|
|
|
* @return \Alumni chargé
|
|
|
|
*/
|
|
|
|
public function signIn(string $email,string $pseudo,string $hash) : \Alumni
|
|
|
|
{
|
|
|
|
// TO DO
|
|
|
|
return new Compte(null,null,null);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|