Вход Регистрация
Файл: vendor/doctrine/dbal/lib/Doctrine/DBAL/Cache/CacheException.php
Строк: 26
<?php

namespace DoctrineDBALCache;

use 
DoctrineDBALException;

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

    
/**
     * @return CacheException
     */
    
public static function noResultDriverConfigured()
    {
        return new 
self('Trying to cache a query but no result driver is configured.');
    }
}
Онлайн: 0
Реклама