summaryrefslogtreecommitdiff
path: root/vendor/doctrine/dbal/src/Cache/Exception/NoResultDriverConfigured.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/doctrine/dbal/src/Cache/Exception/NoResultDriverConfigured.php')
-rw-r--r--vendor/doctrine/dbal/src/Cache/Exception/NoResultDriverConfigured.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/doctrine/dbal/src/Cache/Exception/NoResultDriverConfigured.php b/vendor/doctrine/dbal/src/Cache/Exception/NoResultDriverConfigured.php
new file mode 100644
index 0000000..14e41f7
--- /dev/null
+++ b/vendor/doctrine/dbal/src/Cache/Exception/NoResultDriverConfigured.php
@@ -0,0 +1,16 @@
1<?php
2
3declare(strict_types=1);
4
5namespace Doctrine\DBAL\Cache\Exception;
6
7use Doctrine\DBAL\Cache\CacheException;
8
9/** @psalm-immutable */
10final class NoResultDriverConfigured extends CacheException
11{
12 public static function new(): self
13 {
14 return new self('Trying to cache a query but no result driver is configured.');
15 }
16}