PHP Interface Sulu\Component\Security\Authentication\UserRepositoryInterface

Inheritance: extends Symfony\Component\Security\Core\User\UserProviderInterface, extends Sulu\Component\Persistence\Repository\RepositoryInterface
Afficher le fichier Open project: sulu/sulu Interface Usage Examples

Méthodes publiques

Méthode Description
findUserById ( integer $id ) : Sulu\Component\Security\Authentication\UserInterface Returns the user with the given id.
findUserByIdentifier ( string $identifier ) : Sulu\Component\Security\Authentication\UserInterface Finds a user for a given email or username.
findUserWithSecurityById ( integer $id ) : Sulu\Component\Security\Authentication\UserInterface

Method Details

findUserById() public méthode

Returns the user with the given id.
public findUserById ( integer $id ) : Sulu\Component\Security\Authentication\UserInterface
$id integer The user to find
Résultat Sulu\Component\Security\Authentication\UserInterface

findUserByIdentifier() public méthode

Finds a user for a given email or username.
public findUserByIdentifier ( string $identifier ) : Sulu\Component\Security\Authentication\UserInterface
$identifier string The email-address or username
Résultat Sulu\Component\Security\Authentication\UserInterface

findUserWithSecurityById() public méthode

public findUserWithSecurityById ( integer $id ) : Sulu\Component\Security\Authentication\UserInterface
$id integer
Résultat Sulu\Component\Security\Authentication\UserInterface