$view
$view : \Charcoal\View\ViewInterface
Provides a PSR-7 renderer that uses a Charcoal View.
A "PSR-7" renderer is a service that renders a template identifier inside a HTTP Response
view
A "Charcoal View", which is any class that implements \Charcoal\View\ViewInterface
.$view : \Charcoal\View\ViewInterface
render(\Psr\Http\Message\ResponseInterface $response, string $templateIdent, mixed $context = null) : \Psr\Http\Message\ResponseInterface
\Psr\Http\Message\ResponseInterface | $response | The HTTP response. |
string | $templateIdent | The template identifier to load and render. |
mixed | $context | The view controller / context. |
setView(\Charcoal\View\ViewInterface $view) : \Charcoal\View\Renderer
\Charcoal\View\ViewInterface | $view | The view instance to use. |
Chainable