AuthorizationResult

final readonly class \TYPO3\CMS\Extbase\Authorization\AuthorizationResult

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