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

API/Repository/Values/User/RoleCreateStruct.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
14 abstract class RoleCreateStruct extends ValueObject
15 {
21 public $identifier;
22
28 abstract public function getPolicies();
29
35 abstract public function addPolicy(PolicyCreateStruct $policyCreateStruct);
36 }
eZ\Publish\API\Repository\Values\User\PolicyCreateStruct
This class is used to create a policy.
Definition: API/Repository/Values/User/PolicyCreateStruct.php:13
eZ\Publish\API\Repository\Values\User\RoleCreateStruct
This class is used to create a new role.
Definition: API/Repository/Values/User/RoleCreateStruct.php:15
eZ\Publish\API\Repository\Values\User\RoleCreateStruct\getPolicies
getPolicies()
Returns policies associated with the role.
eZ\Publish\API\Repository\Values\User\RoleCreateStruct\$identifier
$identifier
Definition: API/Repository/Values/User/RoleCreateStruct.php:21
eZ\Publish\API\Repository\Values\User\RoleCreateStruct\addPolicy
addPolicy(PolicyCreateStruct $policyCreateStruct)
Adds a policy to this role.
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+.