Overview
A Slim application delegates rendering of templates to its view object. A Slim application view is a subclassof \Slim\View
that implements this interface:
<?php
public render(string $template);
The view object’s render
method must return the rendered content of the template specified by its$template
argument.