original_string: public function withPivot($columns)
      {
          $this->pivotColumns = array_merge(
              $this->pivotColumns, is_array($columns) ? $columns : func_get_args()
          );
  
          return $this;
      }
code: public function withPivot($columns)
      {
          $this->pivotColumns = array_merge(
              $this->pivotColumns, is_array($columns) ? $columns : func_get_args()
          );
  
          return $this;
      }
code_tokens: public function withPivot ( $ columns ) { $ this -> pivotColumns = array_merge ( $ this -> pivotColumns , is_array ( $ columns ) ? $ columns : func_get_args ( ) ) ; return $ this ; }
docstring: Set the columns on the pivot table to retrieve.
  
  @param  array|mixed  $columns
  @return $this
docstring_tokens: Set the columns on the pivot table to retrieve .