ArrayResult.php
2 years ago
CacheException.php
2 years ago
QueryCacheProfile.php
9 months ago
index.php
2 years ago
CacheException.php
16 lines
| 1 | <?php |
| 2 | namespace MailPoetVendor\Doctrine\DBAL\Cache; |
| 3 | if (!defined('ABSPATH')) exit; |
| 4 | use MailPoetVendor\Doctrine\DBAL\Exception; |
| 5 | class CacheException extends Exception |
| 6 | { |
| 7 | public static function noCacheKey() |
| 8 | { |
| 9 | return new self('No cache key was set.'); |
| 10 | } |
| 11 | public static function noResultDriverConfigured() |
| 12 | { |
| 13 | return new self('Trying to cache a query but no result driver is configured.'); |
| 14 | } |
| 15 | } |
| 16 |