summaryrefslogtreecommitdiff
path: root/vendor/doctrine/orm/src/Cache/Exception/CannotUpdateReadOnlyEntity.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/doctrine/orm/src/Cache/Exception/CannotUpdateReadOnlyEntity.php')
-rw-r--r--vendor/doctrine/orm/src/Cache/Exception/CannotUpdateReadOnlyEntity.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/vendor/doctrine/orm/src/Cache/Exception/CannotUpdateReadOnlyEntity.php b/vendor/doctrine/orm/src/Cache/Exception/CannotUpdateReadOnlyEntity.php
deleted file mode 100644
index b945514..0000000
--- a/vendor/doctrine/orm/src/Cache/Exception/CannotUpdateReadOnlyEntity.php
+++ /dev/null
@@ -1,15 +0,0 @@
1<?php
2
3declare(strict_types=1);
4
5namespace Doctrine\ORM\Cache\Exception;
6
7use function sprintf;
8
9class CannotUpdateReadOnlyEntity extends CacheException
10{
11 public static function fromEntity(string $entityName): self
12 {
13 return new self(sprintf('Cannot update a readonly entity "%s"', $entityName));
14 }
15}