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