Documentation

Cache
in package
implements MappingAttribute

FinalYes

Caching to an entity or a collection.

Tags
Annotation
NamedArgumentConstructor

()

Target

({"CLASS","PROPERTY"})

Table of Contents

Interfaces

MappingAttribute
A marker interface for mapping attributes.

Properties

$region  : string|null
$usage  : string
The concurrency strategy.

Methods

__construct()  : mixed

Properties

$region

public string|null $region

Cache region name.

$usage

The concurrency strategy.

public string $usage = 'READ_ONLY'
Tags
Enum

({"READ_ONLY", "NONSTRICT_READ_WRITE", "READ_WRITE"})

psalm-var

'READ_ONLY'|'NONSTRICT_READ_WRITE'|'READ_WRITE'

Methods

__construct()

public __construct([string $usage = 'READ_ONLY' ][, string|null $region = null ]) : mixed
Parameters
$usage : string = 'READ_ONLY'
$region : string|null = null
Tags
psalm-param

'READ_ONLY'|'NONSTRICT_READ_WRITE'|'READ_WRITE' $usage


        
On this page

Search results