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

Core/REST/Client/Values/User/Role.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\Core\REST\Client\Values\User;
8
9 use eZ\Publish\API\Repository\Values\User\Role as APIRole;
10
17 class Role extends APIRole
18 {
20 protected $policies;
21
28 public function __construct(array $properties = array(), array $policies = array())
29 {
30 parent::__construct($properties);
31
32 $this->policies = $policies;
33 }
34
40 public function getPolicies()
41 {
42 return $this->policies;
43 }
44 }
eZ\Publish\API\Repository\Values\User\Role
Definition: API/Repository/Values/User/Role.php:19
eZ\Publish\Core\REST\Client\Values\User\Role
Implementation of the \eZ\Publish\API\Repository\Values\User\Role class.
Definition: Core/REST/Client/Values/User/Role.php:18
eZ\Publish\Core\REST\Client\Values\User\Role\getPolicies
getPolicies()
Returns the list of policies of this role.
Definition: Core/REST/Client/Values/User/Role.php:40
eZ\Publish\Core\REST\Client\Values\User\Role\__construct
__construct(array $properties=array(), array $policies=array())
Instantiates a role stub instance.
Definition: Core/REST/Client/Values/User/Role.php:28
eZ\Publish\Core\REST\Client\Values\User\Role\$policies
$policies
Definition: Core/REST/Client/Values/User/Role.php:20
eZ\Publish\Core\REST\Client\Values\User
Definition: Core/REST/Client/Values/User/Policy.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.