original_string: public function addFields(array $fields)
      {
          foreach ($fields as $name => $attrs) {
              $this->addField($name, $attrs);
          }
  
          return $this;
      }
code: public function addFields(array $fields)
      {
          foreach ($fields as $name => $attrs) {
              $this->addField($name, $attrs);
          }
  
          return $this;
      }
code_tokens: public function addFields ( array $ fields ) { foreach ( $ fields as $ name => $ attrs ) { $ this -> addField ( $ name , $ attrs ) ; } return $ this ; }
docstring: Add multiple fields to the schema.
  
  @param array $fields The fields to add.
  @return $this
docstring_tokens: Add multiple fields to the schema .