MigrationsRepository.php 444 B

123456789101112131415161718
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\Migrations;
  4. use Doctrine\Migrations\Metadata\AvailableMigration;
  5. use Doctrine\Migrations\Metadata\AvailableMigrationsSet;
  6. use Doctrine\Migrations\Version\Version;
  7. interface MigrationsRepository
  8. {
  9. public function hasMigration(string $version): bool;
  10. public function getMigration(Version $version): AvailableMigration;
  11. public function getMigrations(): AvailableMigrationsSet;
  12. }