|
|
|
@ -13,20 +13,12 @@ class Utilisateur
|
|
|
|
|
* @param string $mdp
|
|
|
|
|
* @param bool $estAdmin
|
|
|
|
|
*/
|
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
public function __construct(string $email, string $pseudo, string $mdp, bool $estAdmin)
|
|
|
|
|
=======
|
|
|
|
|
public function __construct(string $email, string $pseudo, string $mdp ,bool $estAdmin)
|
|
|
|
|
>>>>>>> d82ece50 (Changement de joueur et admin)
|
|
|
|
|
{
|
|
|
|
|
$this->email = $email;
|
|
|
|
|
$this->pseudo = $pseudo;
|
|
|
|
|
$this->mdp = $mdp;
|
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
$this->estAdmin = $estAdmin;
|
|
|
|
|
=======
|
|
|
|
|
$this->estAdmin=$estAdmin;
|
|
|
|
|
>>>>>>> d82ece50 (Changement de joueur et admin)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -78,31 +70,17 @@ class Utilisateur
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
* @return bool
|
|
|
|
|
=======
|
|
|
|
|
* @param bool $estAdmin
|
|
|
|
|
>>>>>>> d82ece50 (Changement de joueur et admin)
|
|
|
|
|
*/
|
|
|
|
|
public function getEstAdmin(): bool
|
|
|
|
|
{
|
|
|
|
|
return $this->estAdmin;
|
|
|
|
|
}
|
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
/**
|
|
|
|
|
* @param bool $estAdmin
|
|
|
|
|
*/
|
|
|
|
|
public function setEstAdmin(bool $estAdmin): void
|
|
|
|
|
{
|
|
|
|
|
$this->estAdmin = $estAdmin;
|
|
|
|
|
=======
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @param bool $estAdmin
|
|
|
|
|
*/
|
|
|
|
|
public function setEstAdmin(bool $estAdmin)
|
|
|
|
|
{
|
|
|
|
|
$this->estAdmin=$estAdmin;
|
|
|
|
|
>>>>>>> d82ece50 (Changement de joueur et admin)
|
|
|
|
|
}
|
|
|
|
|
}
|