summaryrefslogtreecommitdiff
path: root/vendor/doctrine/dbal/src/Cache/Exception/NoCacheKey.php
blob: 9fc58b7e06370453a02b8adce26cb77f301f0bf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

declare(strict_types=1);

namespace Doctrine\DBAL\Cache\Exception;

use Doctrine\DBAL\Cache\CacheException;

/** @psalm-immutable */
final class NoCacheKey extends CacheException
{
    public static function new(): self
    {
        return new self('No cache key was set.');
    }
}