QueryCache
in
Defines the contract for caches capable of storing query results.
These caches should only concern themselves with storing the matching result ids.
Table of Contents
Methods
- clear() : bool
- get() : array<string|int, mixed>|null
- getRegion() : Region
- put() : bool
Methods
clear()
public
clear() : bool
Return values
boolget()
public
get(QueryCacheKey $key, ResultSetMapping $rsm[, array<string|int, mixed> $hints = [] ]) : array<string|int, mixed>|null
Parameters
- $key : QueryCacheKey
- $rsm : ResultSetMapping
- $hints : array<string|int, mixed> = []
Return values
array<string|int, mixed>|nullgetRegion()
public
getRegion() : Region
Return values
Regionput()
public
put(QueryCacheKey $key, ResultSetMapping $rsm, mixed $result[, array<string|int, mixed> $hints = [] ]) : bool
Parameters
- $key : QueryCacheKey
- $rsm : ResultSetMapping
- $result : mixed
- $hints : array<string|int, mixed> = []