Table of Contents
Methods
-
__wakeup()
: mixed
-
getInstance()
: static
-
getUser()
: User|null
-
getUsers()
: UserCollection
-
isUserAdmin()
: bool
__wakeup()
public
__wakeup() : mixed
getInstance()
public
static getInstance() : static
getUser()
public
getUser(int $userId) : User|null
Parameters
-
$userId
: int
-
getUsers()
public
getUsers(array<string|int, mixed> $userIds) : UserCollection
Parameters
-
$userIds
: array<string|int, mixed>
-
isUserAdmin()
public
isUserAdmin(int $userId) : bool
Parameters
-
$userId
: int
-