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

API/Repository/Values/User/Role.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
18 abstract class Role extends ValueObject
19 {
21 const STATUS_DEFINED = 0;
22
24 const STATUS_DRAFT = 1;
25
31 protected $id;
32
39 protected $identifier;
40
46 protected $status;
47
53 abstract public function getPolicies();
54 }
eZ\Publish\API\Repository\Values\User\Role
Definition: API/Repository/Values/User/Role.php:19
eZ\Publish\API\Repository\Values\User\Role\getPolicies
getPolicies()
Returns the list of policies of this role.
eZ\Publish\API\Repository\Values\User\Role\$id
$id
Definition: API/Repository/Values/User/Role.php:31
eZ\Publish\API\Repository\Values\User\Role\STATUS_DRAFT
const STATUS_DRAFT
Definition: API/Repository/Values/User/Role.php:24
eZ\Publish\API\Repository\Values\User\Role\STATUS_DEFINED
const STATUS_DEFINED
Definition: API/Repository/Values/User/Role.php:21
eZ\Publish\API\Repository\Values\User\Role\$status
$status
Definition: API/Repository/Values/User/Role.php:46
eZ\Publish\API\Repository\Values\User\Role\$identifier
$identifier
Definition: API/Repository/Values/User/Role.php:39
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+.