PHP 클래스 App\Services\Repositories\UserRepository

상속: extends Repository
파일 보기 프로젝트 열기: printempw/blessing-skin-server 1 사용 예제들

공개 메소드들

메소드 설명
get ( string $identification, string $type = 'uid' ) : mixed Get a user from repository and cache it.
getCurrentUser ( )
has ( string $identification, string $type = 'uid' ) : boolean Determine if a user exists in the repository.

메소드 상세

get() 공개 메소드

Get a user from repository and cache it.
public get ( string $identification, string $type = 'uid' ) : mixed
$identification string
$type string
리턴 mixed

getCurrentUser() 공개 메소드

public getCurrentUser ( )

has() 공개 메소드

Determine if a user exists in the repository.
public has ( string $identification, string $type = 'uid' ) : boolean
$identification string
$type string Must be one of properties defined in User class
리턴 boolean