UserProvider
Table of Contents
$user | ||
---|---|---|
$user_reflection | ||
$gates | ||
__construct() | mixed | |
getUser() | BaseUser | |
logged_in() | mixed | |
getName() | mixed | |
getEmail() | mixed | |
can() | mixed | |
gate() | mixed | |
test() | mixed |
Properties
$user
protected
mixed
$user
$user_reflection
protected
mixed
$user_reflection
$gates
public
static mixed
$gates
= []
Methods
__construct()
public
__construct(
)
: mixed
Return values
mixedgetUser()
public
abstract getUser(
)
: BaseUser
Return values
BaseUserlogged_in()
public
logged_in(
)
: mixed
Return values
mixedgetName()
public
getName(
)
: mixed
Return values
mixedgetEmail()
public
getEmail(
)
: mixed
Return values
mixedcan()
public
can(
[ $ability :
mixed
= '*' ]
)
: mixed
Parameters
- $ability : mixed = '*'
Return values
mixedgate()
public
static gate(
$handle :
mixed
, $callback :
Closure
)
: mixed
Parameters
- $handle : mixed
- $callback : Closure
Return values
mixedtest()
public
static test(
$framework :
Framework
)
: mixed
Parameters
- $framework : Framework