EarlyExpirationMessage
in package
Conveys a cached value that needs to be computed.
Table of Contents
- $callback : mixed
- $item : mixed
- $pool : mixed
- create() : self|null
- findCallback() : callable
- findPool() : AdapterInterface
- getCallback() : mixed
- getItem() : CacheItem
- getPool() : string
- __construct() : mixed
Properties
$callback
private
mixed
$callback
$item
private
mixed
$item
$pool
private
mixed
$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|null —findCallback()
public
findCallback(ReverseContainer $reverseContainer) : callable
Parameters
- $reverseContainer : ReverseContainer
Return values
callable —findPool()
public
findPool(ReverseContainer $reverseContainer) : AdapterInterface
Parameters
- $reverseContainer : ReverseContainer
Return values
AdapterInterface —getCallback()
public
getCallback() : mixed
Return values
mixed —getItem()
public
getItem() : CacheItem
Return values
CacheItem —getPool()
public
getPool() : string
Return values
string —__construct()
private
__construct(CacheItem $item, string $pool, mixed $callback) : mixed
Parameters
- $item : CacheItem
- $pool : string
- $callback : mixed