blob: b94551409414c48a5a75c799b965735a4709c6e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<?php
declare(strict_types=1);
namespace Doctrine\ORM\Cache\Exception;
use function sprintf;
class CannotUpdateReadOnlyEntity extends CacheException
{
public static function fromEntity(string $entityName): self
{
return new self(sprintf('Cannot update a readonly entity "%s"', $entityName));
}
}
|