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

Inheritance: extends eZ\Publish\Core\REST\Common\Value
Show file Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$innerRole eZ\Publish\API\Repository\Values\User\Role Holds internal role object.

Public Methods

Method Description
__construct ( eZ\Publish\API\Repository\Values\User\Role $role ) Construct.
__get ( string $property ) : mixed Magic getter for routing get calls to innerRole.
__isset ( string $property ) : boolean Magic isset for routing isset calls to innerRole.
__set ( string $property, mixed $propertyValue ) Magic set for routing set calls to innerRole.

Method Details

__construct() public method

Construct.
public __construct ( eZ\Publish\API\Repository\Values\User\Role $role )
$role eZ\Publish\API\Repository\Values\User\Role

__get() public method

Magic getter for routing get calls to innerRole.
public __get ( string $property ) : mixed
$property string The name of the property to retrieve
return mixed

__isset() public method

Magic isset for routing isset calls to innerRole.
public __isset ( string $property ) : boolean
$property string
return boolean

__set() public method

Magic set for routing set calls to innerRole.
public __set ( string $property, mixed $propertyValue )
$property string
$propertyValue mixed

Property Details

$innerRole protected property

Holds internal role object.
protected Role,eZ\Publish\API\Repository\Values\User $innerRole
return eZ\Publish\API\Repository\Values\User\Role