PageCache
in package
implements
FilterInterface
Page Cache filter
Table of Contents
Interfaces
- FilterInterface
- Filter interface
Properties
Methods
- __construct() : mixed
- after() : void
- Cache the page.
- before() : ResponseInterface|void
- Checks page cache and return if found.
Properties
$pageCache read-only
private
ResponseCache
$pageCache
Methods
__construct()
public
__construct() : mixed
after()
Cache the page.
public
after(RequestInterface $request, ResponseInterface $response[, array<string|int, mixed>|null $arguments = null ]) : void
Parameters
- $request : RequestInterface
- $response : ResponseInterface
- $arguments : array<string|int, mixed>|null = null
before()
Checks page cache and return if found.
public
before(RequestInterface $request[, array<string|int, mixed>|null $arguments = null ]) : ResponseInterface|void
Parameters
- $request : RequestInterface
- $arguments : array<string|int, mixed>|null = null