Copied!

LookupLimitationResult

LookupLimitationResult.php : 16
Extends ValueObject

This class represents a LookupLimitation for module and function in the context of current User.

Properties

protected $hasAccess

LookupLimitationResult.php : 19
protected bool $hasAccess

protected $lookupPolicyLimitations

LookupLimitationResult.php : 25
protected array<string|int, LookupPolicyLimitations$lookupPolicyLimitations

protected $roleLimitations

LookupLimitationResult.php : 22
protected array<string|int, Limitation$roleLimitations

Methods

public__construct()

LookupLimitationResult.php : 31

Construct object optionally with a set of properties.

public __construct(bool $hasAccess[, array<string|int, Limitation$roleLimitations = [] ][, array<string|int, LookupPolicyLimitations$lookupPolicyLimitations = [] ])

Parameters

Name Type Default value Description
$hasAccess bool - -
$roleLimitations array<string|int, Limitation> [] -
$lookupPolicyLimitations array<string|int, LookupPolicyLimitations> [] -

publicgetLookupPolicyLimitations()

LookupLimitationResult.php : 59
public getLookupPolicyLimitations() : array<string|int, LookupPolicyLimitations>

Return values

array<string|int, LookupPolicyLimitations>

publicgetRoleLimitations()

LookupLimitationResult.php : 51
public getRoleLimitations() : array<string|int, Limitation>

Return values

array<string|int, Limitation>

publichasAccess()

LookupLimitationResult.php : 43
public hasAccess() : bool

Return values

bool

protectedgetProperties()

ValueObject.php : 50

Function where list of properties are returned.

protected getProperties([array<string|int, mixed> $dynamicProperties = [] ]) : array<string|int, mixed>

Used by attributes(), override to add dynamic properties

Parameters

Name Type Default value Description
$dynamicProperties array<string|int, mixed> []

Additional dynamic properties exposed on the object

Return values

array<string|int, mixed>