Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

LookupLimitationResult.php
Go to the documentation of this file.
1 <?php
2
7 declare(strict_types=1);
8
9 namespace eZ\Publish\API\Repository\Values\User;
10
11 use eZ\Publish\API\Repository\Values\ValueObject;
12
16 final class LookupLimitationResult extends ValueObject
17 {
19 protected $hasAccess;
20
22 protected $roleLimitations;
23
25 protected $lookupPolicyLimitations;
26
32 public function __construct(
33 bool $hasAccess,
34 array $roleLimitations = [],
35 array $lookupPolicyLimitations = []
36 ) {
37 parent::__construct();
38
39 $this->hasAccess = $hasAccess;
40 $this->lookupPolicyLimitations = $lookupPolicyLimitations;
41 $this->roleLimitations = $roleLimitations;
42 }
43 }
eZ\Publish\API\Repository\Values\User\LookupLimitationResult
This class represents a LookupLimitation for module and function in the context of current User.
Definition: LookupLimitationResult.php:17
eZ\Publish\API\Repository\Values\User\LookupLimitationResult\$hasAccess
$hasAccess
Definition: LookupLimitationResult.php:19
eZ\Publish\API\Repository\Values\User\LookupLimitationResult\$lookupPolicyLimitations
$lookupPolicyLimitations
Definition: LookupLimitationResult.php:25
eZ\Publish\API\Repository\Values\User\LookupLimitationResult\$roleLimitations
$roleLimitations
Definition: LookupLimitationResult.php:22
eZ\Publish\API\Repository\Values\User\LookupLimitationResult\__construct
__construct(bool $hasAccess, array $roleLimitations=[], array $lookupPolicyLimitations=[])
Definition: LookupLimitationResult.php:32
eZ\Publish\API\Repository\Values\ValueObject
Definition: API/Repository/Values/ValueObject.php:21
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.