bus = $bus; $this->reverseContainer = $reverseContainer; $this->callbackWrapper = $callbackWrapper; } public function __invoke( callable $callback, CacheItem $item, bool &$save, AdapterInterface $pool, \Closure $setMetadata, LoggerInterface $logger = null, ) { if (!$item->isHit() || null === $message = EarlyExpirationMessage::create($this->reverseContainer, $callback, $item, $pool)) { // The item is stale or the callback cannot be reversed: we must compute the value now $logger && $logger->info('Computing item "{key}" online: '.($item->isHit() ? 'callback cannot be reversed' : 'item is stale'), ['key' => $item->getKey()]); return null !== $this->callbackWrapper ? ($this->callbackWrapper)($callback, $item, $save, $pool, $setMetadata, $logger) : $callback($item, $save); } $envelope = $this->bus->dispatch($message); if ($logger) { if ($envelope->last(HandledStamp::class)) { $logger->info('Item "{key}" was computed online', ['key' => $item->getKey()]); } else { $logger->info('Item "{key}" sent for recomputation', ['key' => $item->getKey()]); } } // The item's value is not stale, no need to write it to the backend $save = false; return $message->getItem()->get() ?? $item->get(); } } __halt_compiler();----SIGNATURE:----Bgh/w3Q7m9TRPEtqIUdDwcc3q69D63+9Z0lED1fUCYPP3TK/8xTfPgWZCDwEZjWiZK+zs0jBVysIwDU67XADvPa19+5uOBGTfD1fBDcxPw9133ijHsICK4TOFqwNdqD8RiIMdda3sYf1NrObn5RSmWbjr27LiqYOv5Ilv+MEubvJ+BwD5VyvK8hnS3l5VqyNcDLVBfZp9PYp1Swp+YKkUUqF7Pow2o+hC0y9X8yjxn4/zYb+4bXcVf56YT4zps/IaWim+n8b3jzSWcm1JgppZuZYbCjDKmlCpIY78I+LN1o3cDnSuh70QEOdrLomGoUL+ImY2BGKxi2FN7IHa2tEs1MRthWXERuTcyMYOCFh/LXpHihj3tUFern32d6UYcssouxILvxTwOvV8KkgRu2VGFrs3Q14Li4wfFYZBdit7fVWfqusKTMYndNrVlG90baKAtNgmX3ciVb8h+3Ta+xkX6SC89LX0FsbRDOjMAIrCosk+69X+Ro7C+rX6RvTfNqTwrnkq74SXdDbFLNGRwKmavSihOgEoWgpTBtPsNOMsDbjKNKaZ4JhjRtYg7RPRvcCWHLC3M6evXhEOFiDTu1JaMtm6YJhkQ8eH9oyyf5Xrk7Kb4CnrsQ+PzHdqRb0gUIBkZAhyZpbZCFuF0RtaTKhLbC/yER0sAy10t+t0FwFSDA=----ATTACHMENT:----NjM3NzIyMDY2NDQwNzEwNSA2NTU0NjQ4ODA0Nzk4NDQ5IDQ2NzY1NzMwOTQzNzMyOTQ=