CacheDataCollectorAttribute implements MiddlewareInterface
Add CacheTags as 'cacheDataCollector' attribute.
Table of Contents
Interfaces
- MiddlewareInterface
Methods
- onCacheTagAdded() : void
- process() : ResponseInterface
- Adds an instance of TYPO3\CMS\Core\Cache\CacheDataCollector as attribute to $request object
Methods
onCacheTagAdded()
public
onCacheTagAdded(AddCacheTagEvent $event) : void
Parameters
- $event : AddCacheTagEvent
Attributes
process()
Adds an instance of TYPO3\CMS\Core\Cache\CacheDataCollector as attribute to $request object
public
process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
- $request : ServerRequestInterface
- $handler : RequestHandlerInterface