AuthorizationResult
Result of authorization check.
AuthorizationResult::allowed()
public static function allowed(): selfBuild a passing authorization result.
AuthorizationResult::denied()
public static function denied(string $reason): selfBuild a failing authorization result carrying the human-readable reason for the denial.
Parameters
| Name | Type | Description |
|---|---|---|
| $reason | string |