The start of something beautiful

This commit is contained in:
2024-09-11 22:48:07 -06:00
parent 45acea47f3
commit f5997ee5ec
5614 changed files with 630696 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
declare(strict_types=1);
namespace Doctrine\Migrations;
use Doctrine\Migrations\Query\Query;
/**
* The QueryWriter defines the interface used for writing migration SQL queries to a file on disk.
*
* @internal
*/
interface QueryWriter
{
/** @param array<string,Query[]> $queriesByVersion */
public function write(
string $path,
string $direction,
array $queriesByVersion,
): bool;
}