AccessCheckResult
Read onlyYes
FinalYes
Result object for access checks.
Encapsulates the result of access checks in BackendUserAuthentication without requiring state sharing via properties.
Table of Contents
Properties
- $errorMessage : string
- $isAllowed : bool
Methods
- __construct() : mixed
Properties
$errorMessage
public
string
$errorMessage
= ''
$isAllowed
public
bool
$isAllowed
Methods
__construct()
public
__construct(bool $isAllowed[, string $errorMessage = '' ]) : mixed
Parameters
- $isAllowed : bool
- $errorMessage : string = ''