code: public function repeat($repeat = null)
      {
          if (!func_num_args()) {
              return $this->_repeat;
          }
          $this->clear();
          $this->_repeat = $repeat;
          return $this;
      }
docs: Gets/sets the repeat number.
  
  @param  integer $repeat The repeat value to set or none the get the current one.
  @return integer         The repeat value or `$this` on set.