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

19 lines
444 B
PHP

<?php
declare(strict_types=1);
namespace Doctrine\Migrations;
use Doctrine\Migrations\Metadata\AvailableMigration;
use Doctrine\Migrations\Metadata\AvailableMigrationsSet;
use Doctrine\Migrations\Version\Version;
interface MigrationsRepository
{
public function hasMigration(string $version): bool;
public function getMigration(Version $version): AvailableMigration;
public function getMigrations(): AvailableMigrationsSet;
}