diff options
Diffstat (limited to 'vendor/doctrine/orm/src/Cache/Exception/NonCacheableEntity.php')
| -rw-r--r-- | vendor/doctrine/orm/src/Cache/Exception/NonCacheableEntity.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/vendor/doctrine/orm/src/Cache/Exception/NonCacheableEntity.php b/vendor/doctrine/orm/src/Cache/Exception/NonCacheableEntity.php deleted file mode 100644 index 4f5da85..0000000 --- a/vendor/doctrine/orm/src/Cache/Exception/NonCacheableEntity.php +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | declare(strict_types=1); | ||
| 4 | |||
| 5 | namespace Doctrine\ORM\Cache\Exception; | ||
| 6 | |||
| 7 | use function sprintf; | ||
| 8 | |||
| 9 | class NonCacheableEntity extends CacheException | ||
| 10 | { | ||
| 11 | public static function fromEntity(string $entityName): self | ||
| 12 | { | ||
| 13 | return new self(sprintf( | ||
| 14 | 'Entity "%s" not configured as part of the second-level cache.', | ||
| 15 | $entityName, | ||
| 16 | )); | ||
| 17 | } | ||
| 18 | } | ||
