CacheEntry
Read onlyYes
    FinalYes
A closure for lazy cache entry persistence, allowing cache lifetime to be altered in the CacheDataCollector.
Also allows a custom middleware to intercept a cache entry from within a middleware.
Table of Contents
Properties
- $content : mixed
- $identifier : string
Methods
- __construct() : mixed
- __invoke() : void
Properties
$content
        public
            mixed
    $content
    
    
    
    
    
    
$identifier
        public
            string
    $identifier
    
    
    
    
    
    
Methods
__construct()
    public
                    __construct(string $identifier, mixed $content, Closure $persist) : mixed
    Parameters
- $identifier : string
- $content : mixed
- $persist : Closure
__invoke()
    public
                    __invoke(ServerRequestInterface $request) : void
    Parameters
- $request : ServerRequestInterface