Mongolid\Cursor\CacheableCursor::getLimit PHP Method

getLimit() protected method

Gets the limit clause of the query if any.
protected getLimit ( ) : mixed
return mixed Int or null
    protected function getLimit()
    {
        return $this->originalLimit ?: $this->params[1]['limit'] ?? null;
    }