diff options
| author | polo <ordipolo@gmx.fr> | 2026-10-18 00:08:23 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2026-10-18 00:10:03 +0200 |
| commit | 05e38eadbeb3de19e5b26003c2b401e00bb71df4 (patch) | |
| tree | cf48350b69cfce92de6f3a0e03eb0876931c7077 /vendor/doctrine/dbal/src/Driver.php | |
| parent | 32843e50aa981f190bdb4fbc9adbeacc06fdf775 (diff) | |
| download | AppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.tar.gz AppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.tar.bz2 AppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.zip | |
sortie de vendor du dépôt, oubli dans config-template.ini
Diffstat (limited to 'vendor/doctrine/dbal/src/Driver.php')
| -rw-r--r-- | vendor/doctrine/dbal/src/Driver.php | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/vendor/doctrine/dbal/src/Driver.php b/vendor/doctrine/dbal/src/Driver.php deleted file mode 100644 index ffdc83c..0000000 --- a/vendor/doctrine/dbal/src/Driver.php +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | declare(strict_types=1); | ||
| 4 | |||
| 5 | namespace Doctrine\DBAL; | ||
| 6 | |||
| 7 | use Doctrine\DBAL\Driver\API\ExceptionConverter; | ||
| 8 | use Doctrine\DBAL\Driver\Connection as DriverConnection; | ||
| 9 | use Doctrine\DBAL\Driver\Exception; | ||
| 10 | use Doctrine\DBAL\Platforms\AbstractPlatform; | ||
| 11 | use SensitiveParameter; | ||
| 12 | |||
| 13 | /** | ||
| 14 | * Driver interface. | ||
| 15 | * Interface that all DBAL drivers must implement. | ||
| 16 | * | ||
| 17 | * @psalm-import-type Params from DriverManager | ||
| 18 | */ | ||
| 19 | interface Driver | ||
| 20 | { | ||
| 21 | /** | ||
| 22 | * Attempts to create a connection with the database. | ||
| 23 | * | ||
| 24 | * @param array<string, mixed> $params All connection parameters. | ||
| 25 | * @psalm-param Params $params All connection parameters. | ||
| 26 | * | ||
| 27 | * @return DriverConnection The database connection. | ||
| 28 | * | ||
| 29 | * @throws Exception | ||
| 30 | */ | ||
| 31 | public function connect( | ||
| 32 | #[SensitiveParameter] | ||
| 33 | array $params, | ||
| 34 | ): DriverConnection; | ||
| 35 | |||
| 36 | /** | ||
| 37 | * Gets the DatabasePlatform instance that provides all the metadata about | ||
| 38 | * the platform this driver connects to. | ||
| 39 | * | ||
| 40 | * @return AbstractPlatform The database platform. | ||
| 41 | */ | ||
| 42 | public function getDatabasePlatform(ServerVersionProvider $versionProvider): AbstractPlatform; | ||
| 43 | |||
| 44 | /** | ||
| 45 | * Gets the ExceptionConverter that can be used to convert driver-level exceptions into DBAL exceptions. | ||
| 46 | */ | ||
| 47 | public function getExceptionConverter(): ExceptionConverter; | ||
| 48 | } | ||
