original_string: public function destroyField($name, $tableName, NodeTypeContract $nodeType)
      {
          $this->modelBuilder->build($tableName, $nodeType->getFields());
          $this->formBuilder->build($tableName, $nodeType->getFields());
  
          $migration = $this->migrationBuilder
              ->getMigrationClassPathByKey($tableName, $name);
  
          $this->migrateDown($migration);
  
          $this->migrationBuilder->destroyFieldMigrationForTable($name, $tableName);
      }
code: public function destroyField($name, $tableName, NodeTypeContract $nodeType)
      {
          $this->modelBuilder->build($tableName, $nodeType->getFields());
          $this->formBuilder->build($tableName, $nodeType->getFields());
  
          $migration = $this->migrationBuilder
              ->getMigrationClassPathByKey($tableName, $name);
  
          $this->migrateDown($migration);
  
          $this->migrationBuilder->destroyFieldMigrationForTable($name, $tableName);
      }
code_tokens: public function destroyField ( $ name , $ tableName , NodeTypeContract $ nodeType ) { $ this -> modelBuilder -> build ( $ tableName , $ nodeType -> getFields ( ) ) ; $ this -> formBuilder -> build ( $ tableName , $ nodeType -> getFields ( ) ) ; $ migration = $ this -> migrationBuilder -> getMigrationClassPathByKey ( $ tableName , $ name ) ; $ this -> migrateDown ( $ migration ) ; $ this -> migrationBuilder -> destroyFieldMigrationForTable ( $ name , $ tableName ) ; }
docstring: Destroys a field on a source table and all associated entities
  
  @param string $name
  @param string $tableName
  @param NodeTypeContract $nodeType
docstring_tokens: Destroys a field on a source table and all associated entities