Imbo\Auth\AccessControl\AbstractQuery::limit PHP Method

limit() public method

Set or get the limit
public limit ( integer $limit = null ) : self | integer
$limit integer The limit to set. Skip to get the current value
return self | integer
    public function limit($limit = null)
    {
        if ($limit === null) {
            return $this->limit;
        }
        $this->limit = (int) $limit;
        return $this;
    }
AbstractQuery