Class

eZ\Publish\Core\REST\Client\Values\User\PolicyUpdateStruct

class PolicyUpdateStruct extends PolicyUpdateStruct

Implementation of the {@link \eZ\Publish\API\Repository\Values\User\PolicyUpdateStruct} class.

Methods

Limitation[] getLimitations()

Returns list of limitations added to policy.

addLimitation(Limitation $limitation)

Adds a limitation to the policy - if a Limitation exists with the same identifier the existing limitation is replaced.

Details

at line 33
public Limitation[] getLimitations()

Returns list of limitations added to policy.

Return Value

Limitation[]

at line 44
public addLimitation(Limitation $limitation)

Adds a limitation to the policy - if a Limitation exists with the same identifier the existing limitation is replaced.

Parameters

Limitation $limitation