. */ namespace Doctrine\ORM\Mapping; /** * Caching to an entity or a collection. * * @Annotation * @Target({"CLASS","PROPERTY"}) */ final class Cache implements Annotation { /** * @Enum({"READ_ONLY", "NONSTRICT_READ_WRITE", "READ_WRITE"}) * @var string The concurrency strategy. */ public $usage = 'READ_ONLY'; /** @var string Cache region name. */ public $region; }