MigrationFactory.php 329 B

123456789101112131415
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\Migrations\Version;
  4. use Doctrine\Migrations\AbstractMigration;
  5. /**
  6. * The MigrationFactory is responsible for creating instances of the migration class name.
  7. */
  8. interface MigrationFactory
  9. {
  10. public function createVersion(string $migrationClassName): AbstractMigration;
  11. }