lib/Doctrine/ORM/Cache/MetadataCacheUsesNonPersistentCache.php 1 location
|
@@ 9-17 (lines=9) @@
|
6 |
|
|
7 |
|
use Doctrine\Common\Cache\Cache; |
8 |
|
|
9 |
|
final class MetadataCacheUsesNonPersistentCache extends \Exception implements CacheException |
10 |
|
{ |
11 |
|
public static function fromDriver(Cache $cache) : self |
12 |
|
{ |
13 |
|
return new self( |
14 |
|
'Metadata Cache uses a non-persistent cache driver, ' . get_class($cache) . '.' |
15 |
|
); |
16 |
|
} |
17 |
|
} |
18 |
|
|
lib/Doctrine/ORM/Cache/QueryCacheUsesNonPersistentCache.php 1 location
|
@@ 9-17 (lines=9) @@
|
6 |
|
|
7 |
|
use Doctrine\Common\Cache\Cache; |
8 |
|
|
9 |
|
final class QueryCacheUsesNonPersistentCache extends \Exception implements CacheException |
10 |
|
{ |
11 |
|
public static function fromDriver(Cache $cache) : self |
12 |
|
{ |
13 |
|
return new self( |
14 |
|
'Query Cache uses a non-persistent cache driver, ' . get_class($cache) . '.' |
15 |
|
); |
16 |
|
} |
17 |
|
} |
18 |
|
|