EarlyExpirationDispatcher
in package
Sends the computation of cached values to a message bus.
Table of Contents
- $bus : mixed
- $callbackWrapper : mixed
- $reverseContainer : mixed
- __construct() : mixed
- __invoke() : mixed
Properties
$bus
private
mixed
$bus
$callbackWrapper
private
mixed
$callbackWrapper
$reverseContainer
private
mixed
$reverseContainer
Methods
__construct()
public
__construct(MessageBusInterface $bus, ReverseContainer $reverseContainer[, callable|null $callbackWrapper = null ]) : mixed
Parameters
- $bus : MessageBusInterface
- $reverseContainer : ReverseContainer
- $callbackWrapper : callable|null = null
Return values
mixed —__invoke()
public
__invoke(callable $callback, CacheItem $item, bool &$save, AdapterInterface $pool, Closure $setMetadata[, LoggerInterface|null $logger = null ]) : mixed
Parameters
- $callback : callable
- $item : CacheItem
- $save : bool
- $pool : AdapterInterface
- $setMetadata : Closure
- $logger : LoggerInterface|null = null