Class

eZ\Publish\Core\REST\Server\Values\RestRole

class RestRole extends Value

REST Role, as received by /roles/.

Methods

__construct(Role $role)

Construct.

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.

Details

at line 31
public __construct(Role $role)

Construct.

Parameters

Role $role

at line 43
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 54
public __set(string $property, mixed $propertyValue)

Magic set for routing set calls to innerRole.

Parameters

string $property
mixed $propertyValue

at line 66
public bool __isset(string $property)

Magic isset for routing isset calls to innerRole.

Parameters

string $property

Return Value

bool