PHP Класс App\Services\Repositories\UserRepository

Наследование: extends Repository
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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