EntityManagerLoader.php 406 B

123456789101112131415161718
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\Migrations\Configuration\EntityManager;
  4. use Doctrine\ORM\EntityManagerInterface;
  5. /**
  6. * The EntityManagerLoader defines the interface used to load the Doctrine\DBAL\EntityManager instance to use
  7. * for migrations.
  8. *
  9. * @internal
  10. */
  11. interface EntityManagerLoader
  12. {
  13. public function getEntityManager(?string $name = null): EntityManagerInterface;
  14. }