PHP 인터페이스 Sulu\Component\Security\Authentication\UserRepositoryInterface

상속: extends Symfony\Component\Security\Core\User\UserProviderInterface, extends Sulu\Component\Persistence\Repository\RepositoryInterface
파일 보기 프로젝트 열기: sulu/sulu 0 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

findUserById() 공개 메소드

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

findUserByIdentifier() 공개 메소드

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
리턴 Sulu\Component\Security\Authentication\UserInterface

findUserWithSecurityById() 공개 메소드

public findUserWithSecurityById ( integer $id ) : Sulu\Component\Security\Authentication\UserInterface
$id integer
리턴 Sulu\Component\Security\Authentication\UserInterface