12345678910111213141516171819 |
- <?php
- declare(strict_types=1);
- namespace Doctrine\Migrations\Generator;
- use DateTimeInterface;
- use Doctrine\Migrations\Query\Query;
- /**
- * The ConcatenationFileBuilder class is responsible for building a migration SQL file from an array of queries per version.
- *
- * @internal
- */
- interface FileBuilder
- {
- /** @param array<string,Query[]> $queriesByVersion */
- public function buildMigrationFile(array $queriesByVersion, string $direction, ?DateTimeInterface $now = null): string;
- }
|