Class

eZ\Publish\Core\Repository\Values\User\RoleDraft

class RoleDraft extends RoleDraft

This class represents a draft of a role.

Constants

STATUS_DEFINED

STATUS_DRAFT

Methods

mixed __get(string $property)

Magic getter for routing get calls to innerRole.

__set(string $property, mixed $propertyValue)

Magic set for routing set calls to innerRole.

bool __isset(string $property)

Magic isset for routing isset calls to innerRole.

PolicyDraft[] getPolicies()

Returns the list of policies of this role.

Details

at line 36
public mixed __get(string $property)

Magic getter for routing get calls to innerRole.

Parameters

string $property The name of the property to retrieve

Return Value

mixed

at line 47
public __set(string $property, mixed $propertyValue)

Magic set for routing set calls to innerRole.

Parameters

string $property
mixed $propertyValue

at line 59
public bool __isset(string $property)

Magic isset for routing isset calls to innerRole.

Parameters

string $property

Return Value

bool

at line 69
public PolicyDraft[] getPolicies()

Returns the list of policies of this role.

Return Value

PolicyDraft[]