AuthorizationResult

Read onlyYes
FinalYes

Immutable value object representing the result of an authorization check

Table of Contents

Properties

$authorized  : bool
$failedAttribute  : Authorize|null
$failureReason  : AuthorizationFailureReason|null

Methods

allowed()  : self
denied()  : self
isAllowed()  : bool
isDenied()  : bool

Properties

Methods

allowed()

public static allowed() : self
Return values
self

isAllowed()

public isAllowed() : bool
Return values
bool

isDenied()

public isDenied() : bool
Return values
bool

        
On this page

Search results