original_string: public function buildField($name, $type, $indexed, $tableName, NodeTypeContract $nodeType)
      {
          $this->modelBuilder->build($tableName, $nodeType->getFields());
          $this->buildForm($nodeType);
          $migration = $this->migrationBuilder->buildFieldMigrationForTable($name, $type, $indexed, $tableName);
  
          $this->migrateUp($migration);
      }
code: public function buildField($name, $type, $indexed, $tableName, NodeTypeContract $nodeType)
      {
          $this->modelBuilder->build($tableName, $nodeType->getFields());
          $this->buildForm($nodeType);
          $migration = $this->migrationBuilder->buildFieldMigrationForTable($name, $type, $indexed, $tableName);
  
          $this->migrateUp($migration);
      }
code_tokens: public function buildField ( $ name , $ type , $ indexed , $ tableName , NodeTypeContract $ nodeType ) { $ this -> modelBuilder -> build ( $ tableName , $ nodeType -> getFields ( ) ) ; $ this -> buildForm ( $ nodeType ) ; $ migration = $ this -> migrationBuilder -> buildFieldMigrationForTable ( $ name , $ type , $ indexed , $ tableName ) ; $ this -> migrateUp ( $ migration ) ; }
docstring: Builds a field on a source table and associated entities
  
  @param string $name
  @param string $type
  @param bool $indexed
  @param string $tableName
  @param NodeTypeContract $nodeType
docstring_tokens: Builds a field on a source table and associated entities