<?php namespace Doctrine\DBAL\Cache; use Doctrine\DBAL\Exception; /** @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.'); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
ArrayResult.php | File | 2.09 KB | 0644 |
|
CacheException.php | File | 461 B | 0644 |
|
QueryCacheProfile.php | File | 5.11 KB | 0644 |
|