. */ namespace Doctrine\ORM\Mapping; /** * Caching to an entity or a collection. * * @author Fabio B. Silva * @since 2.5 * * @Annotation * @Target("CLASS") */ 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; }