PageRenderer
in package
Render a web page using a template with the same name as the endpoint. Current user and query and URL params are passed as template variables.
Table of Contents
Properties
Methods
- __construct() : mixed
- __invoke() : mixed
Properties
$manager
private
mixed
$manager
$renderer
private
mixed
$renderer
Methods
__construct()
public
__construct(PhpRenderer $renderer, Manager $manager) : mixed
Parameters
- $renderer : PhpRenderer
- $manager : Manager
__invoke()
public
__invoke(ServerRequestInterface $request, ResponseInterface $response[, array<string|int, mixed> $args = [] ]) : mixed
Parameters
- $request : ServerRequestInterface
- $response : ResponseInterface
- $args : array<string|int, mixed> = []