PHP Class App\Services\Repositories\UserRepository

Inheritance: extends Repository
Afficher le fichier Open project: printempw/blessing-skin-server Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

get() public méthode

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

getCurrentUser() public méthode

public getCurrentUser ( )

has() public méthode

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
Résultat boolean