MigrationStatusCalculator.php 509 B

12345678910111213141516171819
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\Migrations\Version;
  4. use Doctrine\Migrations\Metadata\AvailableMigrationsList;
  5. use Doctrine\Migrations\Metadata\ExecutedMigrationsList;
  6. /**
  7. * The MigrationStatusCalculator is responsible for calculating the current status of
  8. * migrated and not available versions.
  9. */
  10. interface MigrationStatusCalculator
  11. {
  12. public function getExecutedUnavailableMigrations(): ExecutedMigrationsList;
  13. public function getNewMigrations(): AvailableMigrationsList;
  14. }