| 1 | <?php  | 
            ||
| 14 | class CacheResetMiddleware implements MiddlewareInterface  | 
            ||
| 15 | { | 
            ||
| 16 | /** @var CacheItemPoolInterface $itemPool */  | 
            ||
| 17 | protected $itemPool;  | 
            ||
| 18 | |||
| 19 | /**  | 
            ||
| 20 | * CacheResetMiddleware constructor.  | 
            ||
| 21 | *  | 
            ||
| 22 | * @param CacheItemPoolInterface $itemPool  | 
            ||
| 23 | */  | 
            ||
| 24 | public function __construct(CacheItemPoolInterface $itemPool)  | 
            ||
| 28 | |||
| 29 | /**  | 
            ||
| 30 | * Process an incoming server request and return a response, optionally delegating  | 
            ||
| 31 | * response creation to a handler.  | 
            ||
| 32 | *  | 
            ||
| 33 | * @param ServerRequestInterface $request  | 
            ||
| 34 | * @param RequestHandlerInterface $handler  | 
            ||
| 35 | *  | 
            ||
| 36 | * @return ResponseInterface  | 
            ||
| 37 | */  | 
            ||
| 38 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface  | 
            ||
| 46 | }  | 
            ||
| 47 |