for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Doctrine\ORM\Cache;
class CannotUpdateReadOnlyCollection extends \Exception implements CacheException
{
public static function fromEntityAndField(string $sourceEntity, string $fieldName) : self
return new self(sprintf(
'Cannot update a readonly collection "%s#%s"',
$sourceEntity,
$fieldName
));
}