ConnectionProvider.php 336 B

123456789101112131415
  1. <?php
  2. namespace Doctrine\DBAL\Tools\Console;
  3. use Doctrine\DBAL\Connection;
  4. interface ConnectionProvider
  5. {
  6. public function getDefaultConnection(): Connection;
  7. /**
  8. * @throws ConnectionNotFound in case a connection with the given name does not exist.
  9. */
  10. public function getConnection(string $name): Connection;
  11. }