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

PolicyStruct.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\API\Repository\Values\User;
8
9 use eZ\Publish\API\Repository\Values\ValueObject;
10
11 abstract class PolicyStruct extends ValueObject
12 {
18 abstract public function getLimitations();
19
25 abstract public function addLimitation(Limitation $limitation);
26 }
eZ\Publish\API\Repository\Values\User\Limitation
This class represents a Limitation applied to a policy.
Definition: API/Repository/Values/User/Limitation.php:15
eZ\Publish\API\Repository\Values\User\PolicyStruct
Definition: PolicyStruct.php:12
eZ\Publish\API\Repository\Values\User\PolicyStruct\addLimitation
addLimitation(Limitation $limitation)
Adds a limitation with the given identifier and list of values.
eZ\Publish\API\Repository\Values\User\PolicyStruct\getLimitations
getLimitations()
Returns list of limitations added to policy.
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+.