User
extends
ResourceOwnerInterface
Table of Contents
-
get()
: mixed
-
getName()
: string
-
getRoles()
: array<string|int, mixed>
-
hasRole()
: bool
get()
public
get(string $name[, mixed $default = null ]) : mixed
Parameters
-
$name
: string
-
-
$default
: mixed
= null
-
Return values
mixed
—
getName()
public
getName() : string
Return values
string
—
getRoles()
public
getRoles() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
hasRole()
public
hasRole(string $role) : bool
Parameters
-
$role
: string
-
Return values
bool
—