EarlyExpirationMessage
in package
FinalYes
Conveys a cached value that needs to be computed.
Table of Contents
Properties
Methods
- create() : self|null
- findCallback() : callable
- findPool() : AdapterInterface
- getCallback() : string|array<string|int, string>
- getItem() : CacheItem
- getPool() : string
- __construct() : mixed
Properties
$callback
private
string|array<string|int, mixed>
$callback
$item
private
mixed
$item
$pool
private
string
$pool
Methods
create()
public
static create(ReverseContainer $reverseContainer, callable $callback, CacheItem $item, AdapterInterface $pool) : self|null
Parameters
- $reverseContainer : ReverseContainer
- $callback : callable
- $item : CacheItem
- $pool : AdapterInterface
Return values
self|nullfindCallback()
public
findCallback(ReverseContainer $reverseContainer) : callable
Parameters
- $reverseContainer : ReverseContainer
Return values
callablefindPool()
public
findPool(ReverseContainer $reverseContainer) : AdapterInterface
Parameters
- $reverseContainer : ReverseContainer
Return values
AdapterInterfacegetCallback()
public
getCallback() : string|array<string|int, string>
Return values
string|array<string|int, string>getItem()
public
getItem() : CacheItem
Return values
CacheItemgetPool()
public
getPool() : string
Return values
string__construct()
private
__construct(CacheItem $item, string $pool, string|array<string|int, mixed> $callback) : mixed
Parameters
- $item : CacheItem
- $pool : string
- $callback : string|array<string|int, mixed>