diff options
Diffstat (limited to 'vendor/doctrine/dbal/src/Driver/OCI8/Exception/InvalidConfiguration.php')
-rw-r--r-- | vendor/doctrine/dbal/src/Driver/OCI8/Exception/InvalidConfiguration.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/vendor/doctrine/dbal/src/Driver/OCI8/Exception/InvalidConfiguration.php b/vendor/doctrine/dbal/src/Driver/OCI8/Exception/InvalidConfiguration.php new file mode 100644 index 0000000..e9d2d0e --- /dev/null +++ b/vendor/doctrine/dbal/src/Driver/OCI8/Exception/InvalidConfiguration.php | |||
@@ -0,0 +1,20 @@ | |||
1 | <?php | ||
2 | |||
3 | declare(strict_types=1); | ||
4 | |||
5 | namespace Doctrine\DBAL\Driver\OCI8\Exception; | ||
6 | |||
7 | use Doctrine\DBAL\Driver\AbstractException; | ||
8 | |||
9 | /** | ||
10 | * @internal | ||
11 | * | ||
12 | * @psalm-immutable | ||
13 | */ | ||
14 | final class InvalidConfiguration extends AbstractException | ||
15 | { | ||
16 | public static function forPersistentAndExclusive(): self | ||
17 | { | ||
18 | return new self('The "persistent" parameter and the "exclusive" driver option are mutually exclusive'); | ||
19 | } | ||
20 | } | ||