File "CannotUpdateReadOnlyCollection.php"

Full Path: /home/warrior1/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/Cache/Exception/CannotUpdateReadOnlyCollection.php
File size: 402 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
declare (strict_types=1);
namespace MailPoetVendor\Doctrine\ORM\Cache\Exception;
if (!defined('ABSPATH')) exit;
use function sprintf;
class CannotUpdateReadOnlyCollection extends CacheException
{
 public static function fromEntityAndField(string $sourceEntity, string $fieldName) : self
 {
 return new self(sprintf('Cannot update a readonly collection "%s#%s"', $sourceEntity, $fieldName));
 }
}