Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Doctrine\DBAL\Cache;
4
 
5
use Doctrine\DBAL\Exception;
6
 
7
/** @psalm-immutable */
8
class CacheException extends Exception
9
{
10
    /** @return CacheException */
11
    public static function noCacheKey()
12
    {
13
        return new self('No cache key was set.');
14
    }
15
 
16
    /** @return CacheException */
17
    public static function noResultDriverConfigured()
18
    {
19
        return new self('Trying to cache a query but no result driver is configured.');
20
    }
21
}