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