src/mako/gatekeeper/repositories/user/UserRepository.php
public function getByEmail(string $email)
	{
		return $this->setAuthorizer($this->getModel()->where('email', '=', $email)->first());
	}
public function getByEmail(string $email)
	{
		return $this->setAuthorizer($this->getModel()->where('email', '=', $email)->first());
	}
public function getByEmail ( string $ email ) { return $ this -> setAuthorizer ( $ this -> getModel ( ) -> where ( 'email' , '=' , $ email ) -> first ( ) ) ; }
Fetches a user by its email address.

@param  string                                   $email Email address
@return \mako\gatekeeper\entities\user\User|bool
Fetches a user by its email address .