class SqlFileWriter (View source)

deprecated

Methods

__construct(string $migrationsColumnName, string $migrationsTableName, string $destPath, OutputWriter $outputWriter = null)

No description

int|bool
write(array $queriesByVersion, string $direction)

No description

throwInvalidArgumentException($message)

No description

Details

__construct(string $migrationsColumnName, string $migrationsTableName, string $destPath, OutputWriter $outputWriter = null)

Parameters

string $migrationsColumnName
string $migrationsTableName
string $destPath
OutputWriter $outputWriter

int|bool write(array $queriesByVersion, string $direction)

Parameters

array $queriesByVersion array Keys are versions and values are arrays of SQL queries (they must be castable to string)
string $direction

Return Value

int|bool

protected throwInvalidArgumentException($message)

Parameters

$message