CacheException.php
9 months ago
CannotUpdateReadOnlyCollection.php
9 months ago
CannotUpdateReadOnlyEntity.php
9 months ago
FeatureNotImplemented.php
9 months ago
InvalidResultCacheDriver.php
9 months ago
MetadataCacheNotConfigured.php
9 months ago
MetadataCacheUsesNonPersistentCache.php
9 months ago
NonCacheableEntity.php
9 months ago
NonCacheableEntityAssociation.php
9 months ago
QueryCacheNotConfigured.php
9 months ago
QueryCacheUsesNonPersistentCache.php
9 months ago
index.php
9 months ago
FeatureNotImplemented.php
24 lines
| 1 | <?php |
| 2 | declare (strict_types=1); |
| 3 | namespace MailPoetVendor\Doctrine\ORM\Cache\Exception; |
| 4 | if (!defined('ABSPATH')) exit; |
| 5 | class FeatureNotImplemented extends CacheException |
| 6 | { |
| 7 | public static function scalarResults() : self |
| 8 | { |
| 9 | return new self('Second level cache does not support scalar results.'); |
| 10 | } |
| 11 | public static function multipleRootEntities() : self |
| 12 | { |
| 13 | return new self('Second level cache does not support multiple root entities.'); |
| 14 | } |
| 15 | public static function nonSelectStatements() : self |
| 16 | { |
| 17 | return new self('Second-level cache query supports only select statements.'); |
| 18 | } |
| 19 | public static function partialEntities() : self |
| 20 | { |
| 21 | return new self('Second level cache does not support partial entities.'); |
| 22 | } |
| 23 | } |
| 24 |