source/Listing/Listing.php
public function setLimits(array $limits = [])
    {
        if (empty($limits)) {
            throw new ListingException("You must provide at least one limit option");
        }

        $this->limits = array_values($limits);

        return $this;
    }
public function setLimits(array $limits = [])
    {
        if (empty($limits)) {
            throw new ListingException("You must provide at least one limit option");
        }

        $this->limits = array_values($limits);

        return $this;
    }
public function setLimits ( array $ limits = [ ] ) { if ( empty ( $ limits ) ) { throw new ListingException ( "You must provide at least one limit option" ) ; } $ this -> limits = array_values ( $ limits ) ; return $ this ; }
Set allowed pagination limits

@param array $limits

@return $this
Set allowed pagination limits