class FileQueryWriter implements QueryWriter (View source)

Methods

__construct(string $columnName, string $tableName, OutputWriter|null $outputWriter)

No description

bool
write(string $path, string $direction, array $queriesByVersion)

TODO: move SqlFileWriter's behaviour to this class - and kill it with fire (on the next major release)

Details

__construct(string $columnName, string $tableName, OutputWriter|null $outputWriter)

Parameters

string $columnName
string $tableName
OutputWriter|null $outputWriter

bool write(string $path, string $direction, array $queriesByVersion)

TODO: move SqlFileWriter's behaviour to this class - and kill it with fire (on the next major release)

Parameters

string $path
string $direction
array $queriesByVersion

Return Value

bool