eZ\Publish\Core\Base\Container\ApiLoader\RepositoryFactory::registerLimitationType PHP Method

registerLimitationType() public method

Registers a limitation type for the RoleService.
public registerLimitationType ( string $limitationName, eZ\Publish\SPI\Limitation\Type $limitationType )
$limitationName string
$limitationType eZ\Publish\SPI\Limitation\Type
    public function registerLimitationType($limitationName, SPILimitationType $limitationType)
    {
        $this->roleLimitations[$limitationName] = $limitationType;
    }