original_string: public function setColumns(array $columns, $add = false) {
          if (!$add) {
              $this->columnDefinition = [];
          }
          foreach ($columns as $key => $def) {
              $this->addColumn($key, $def);
          }
          return $this;
      }
code: public function setColumns(array $columns, $add = false) {
          if (!$add) {
              $this->columnDefinition = [];
          }
          foreach ($columns as $key => $def) {
              $this->addColumn($key, $def);
          }
          return $this;
      }
code_tokens: public function setColumns ( array $ columns , $ add = false ) { if ( ! $ add ) { $ this -> columnDefinition = [ ] ; } foreach ( $ columns as $ key => $ def ) { $ this -> addColumn ( $ key , $ def ) ; } return $ this ; }
docstring: Add many columns in one shot
  
  @see addColumn
  @param array $columns
  @param bool $add true to add these columns to existing columns
  @return \mangetasoupe\pdf\TcTable
docstring_tokens: Add many columns in one shot