diff options
Diffstat (limited to 'vendor/doctrine/dbal/src/Cache/Exception/NoCacheKey.php')
-rw-r--r-- | vendor/doctrine/dbal/src/Cache/Exception/NoCacheKey.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/doctrine/dbal/src/Cache/Exception/NoCacheKey.php b/vendor/doctrine/dbal/src/Cache/Exception/NoCacheKey.php new file mode 100644 index 0000000..9fc58b7 --- /dev/null +++ b/vendor/doctrine/dbal/src/Cache/Exception/NoCacheKey.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 NoCacheKey extends CacheException | ||
11 | { | ||
12 | public static function new(): self | ||
13 | { | ||
14 | return new self('No cache key was set.'); | ||
15 | } | ||
16 | } | ||