caisse-bliss/vendor/doctrine/migrations/lib/Doctrine/Migrations/QueryWriter.php

25 lines
443 B
PHP
Raw Normal View History

2023-06-19 12:13:30 +02:00
<?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;
}