src/ItemList.php
public function setLimit($blnUse, $intOffset, $intLimit)
    {
        $this
            ->paginationLimitCalculator
            ->setApplyLimitAndOffset($blnUse)
            ->setOffset($intOffset)
            ->setLimit($intLimit);

        return $this;
    }
public function setLimit($blnUse, $intOffset, $intLimit)
    {
        $this
            ->paginationLimitCalculator
            ->setApplyLimitAndOffset($blnUse)
            ->setOffset($intOffset)
            ->setLimit($intLimit);

        return $this;
    }
Set the limit.

@param bool $blnUse    If true, use limit, if false no limit is applied.

@param int  $intOffset Like in SQL, first element to be returned (0 based).

@param int  $intLimit  Like in SQL, amount of elements to retrieve.

@return ItemList