original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Set allowed pagination limits
  
  @param array $limits
  
  @return $this
docstring_tokens: Set allowed pagination limits