src/Builders/BuilderService.php
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);
    }
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);
    }
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 ) ; }
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
Builds a field on a source table and associated entities