diff options
Diffstat (limited to 'vendor/doctrine/dbal/src/Tools/Console/ConnectionProvider.php')
-rw-r--r-- | vendor/doctrine/dbal/src/Tools/Console/ConnectionProvider.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/doctrine/dbal/src/Tools/Console/ConnectionProvider.php b/vendor/doctrine/dbal/src/Tools/Console/ConnectionProvider.php new file mode 100644 index 0000000..0ae28c5 --- /dev/null +++ b/vendor/doctrine/dbal/src/Tools/Console/ConnectionProvider.php | |||
@@ -0,0 +1,15 @@ | |||
1 | <?php | ||
2 | |||
3 | declare(strict_types=1); | ||
4 | |||
5 | namespace Doctrine\DBAL\Tools\Console; | ||
6 | |||
7 | use Doctrine\DBAL\Connection; | ||
8 | |||
9 | interface ConnectionProvider | ||
10 | { | ||
11 | public function getDefaultConnection(): Connection; | ||
12 | |||
13 | /** @throws ConnectionNotFound in case a connection with the given name does not exist. */ | ||
14 | public function getConnection(string $name): Connection; | ||
15 | } | ||