public static function compare(Field $fieldA, Field $fieldB)
    {
        $change = new FieldMigrationChange();
        $change->fromField = $fieldA;
        $change->toField = $fieldB;

        return $change;
    }
public static function compare(Field $fieldA, Field $fieldB)
    {
        $change = new FieldMigrationChange();
        $change->fromField = $fieldA;
        $change->toField = $fieldB;

        return $change;
    }
public static function compare ( Field $ fieldA , Field $ fieldB ) { $ change = new FieldMigrationChange ( ) ; $ change -> fromField = $ fieldA ; $ change -> toField = $ fieldB ; return $ change ; }
Get the migration change after comparing two given fields

@param CrestApps\CodeGenerator\Models\Field $fieldA
@param CrestApps\CodeGenerator\Models\Field $fieldB

@return CrestApps\CodeGenerator\Models\FieldMigrationChange
Get the migration change after comparing two given fields