class FileBuilder (View source)

The FileBuilder class is responsible for building a migration SQL file from an array of queries per version.

Methods

__construct(AbstractPlatform $platform, string $tableName, string $columnName, string $executedAtColumnName)

No description

buildMigrationFile(array $queriesByVersion, string $direction, DateTimeInterface $now)

No description

Details

__construct(AbstractPlatform $platform, string $tableName, string $columnName, string $executedAtColumnName)

Parameters

AbstractPlatform $platform
string $tableName
string $columnName
string $executedAtColumnName

buildMigrationFile(array $queriesByVersion, string $direction, DateTimeInterface $now)

Parameters

array $queriesByVersion
string $direction
DateTimeInterface $now