Class

eZ\Publish\Core\Persistence\Legacy\User\Role\LimitationConverter

class LimitationConverter

Limitation converter.

Takes care of Converting a Policy limitation from Legacy value to spi value accepted by API.

Methods

__construct(array $limitationHandlers = array())

Construct from LimitationConverter.

addHandler(LimitationHandler $handler)

Adds handler.

toLegacy(Policy $policy)

toSPI(Policy $policy)

Details

at line 30
public __construct(array $limitationHandlers = array())

Construct from LimitationConverter.

Parameters

array $limitationHandlers

at line 40
public addHandler(LimitationHandler $handler)

Adds handler.

Parameters

LimitationHandler $handler

at line 48
public toLegacy(Policy $policy)

Parameters

Policy $policy

at line 58
public toSPI(Policy $policy)

Parameters

Policy $policy