Documentation

MockUserProvider extends UserProvider

Table of Contents

$user
$user_reflection
$gates
__construct() mixed
logged_in() mixed
can() mixed
test() mixed
getUser() BaseUser
__construct() mixed
getUser() BaseUser
logged_in() mixed
getName() mixed
getEmail() mixed
can() mixed
gate() mixed
test() mixed

Properties

Methods

can()

public can( [ $ability : mixed = '*' ] ) : mixed
Parameters
$ability : mixed = '*'
Return values
mixed

__construct()

public __construct( ) : mixed
Return values
mixed

logged_in()

public logged_in( ) : mixed
Return values
mixed

getEmail()

public getEmail( ) : mixed
Return values
mixed

can()

public can( [ $ability : mixed = '*' ] ) : mixed
Parameters
$ability : mixed = '*'
Return values
mixed

gate()

public static gate( $handle : mixed , $callback : Closure ) : mixed
Parameters
$handle : mixed
$callback : Closure
Return values
mixed

Search results