diff options
Diffstat (limited to 'vendor/doctrine/dbal/src/Cache/Exception/NoResultDriverConfigured.php')
| -rw-r--r-- | vendor/doctrine/dbal/src/Cache/Exception/NoResultDriverConfigured.php | 16 |
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 | |||
| 3 | declare(strict_types=1); | ||
| 4 | |||
| 5 | namespace Doctrine\DBAL\Cache\Exception; | ||
| 6 | |||
| 7 | use Doctrine\DBAL\Cache\CacheException; | ||
| 8 | |||
| 9 | /** @psalm-immutable */ | ||
| 10 | final 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 | } | ||
