src/FieldHandlers/DbField.php
public static function fromCsvField(CsvField $csvField) : DbField
    {
        return new self(
            $csvField->getName(),
            $csvField->getType(),
            $csvField->getLimit(),
            $csvField->getRequired(),
            $csvField->getNonSearchable(),
            $csvField->getUnique()
        );
    }
public static function fromCsvField(CsvField $csvField) : DbField
    {
        return new self(
            $csvField->getName(),
            $csvField->getType(),
            $csvField->getLimit(),
            $csvField->getRequired(),
            $csvField->getNonSearchable(),
            $csvField->getUnique()
        );
    }
public static function fromCsvField ( CsvField $ csvField ) : DbField { return new self ( $ csvField -> getName ( ) , $ csvField -> getType ( ) , $ csvField -> getLimit ( ) , $ csvField -> getRequired ( ) , $ csvField -> getNonSearchable ( ) , $ csvField -> getUnique ( ) ) ; }
Construct a new instance from CsvField

@param \CsvMigrations\FieldHandlers\CsvField $csvField CsvField instance
@return \CsvMigrations\FieldHandlers\DbField
Construct a new instance from CsvField