RestApiRoleAuthenticator
in package
Class RestApiGenerator
Table of Contents
Properties
- $item : PermanentEntity|null
- $user : AbstractUser|null
Methods
- __construct() : mixed
- allowRole() : bool
Properties
$item
protected
PermanentEntity|null
$item
= null
$user
protected
AbstractUser|null
$user
= null
Methods
__construct()
public
__construct() : mixed
allowRole()
public
allowRole(string $role, object $options) : bool
Parameters
- $role : string
- $options : object