Current path: home/webdevt/www/schtroumpf.fr/vendor/doctrine/orm/lib/Doctrine/ORM/Cache/Exception/
?? Go up: /home/webdevt/www/schtroumpf.fr/vendor/doctrine/orm/lib/Doctrine/ORM/Cache
<?php
declare(strict_types=1);
namespace Doctrine\ORM\Cache\Exception;
use function sprintf;
class NonCacheableEntityAssociation extends CacheException
{
public static function fromEntityAndField(string $entityName, string $field): self
{
return new self(sprintf(
'Entity association field "%s#%s" not configured as part of the second-level cache.',
$entityName,
$field
));
}
}