Symfony\Bundle\FrameworkBundle\Controller\TemplateController::templateAction
Renders a template.
Signature
public function templateAction(string
$template,
[int|null
$maxAge = null,
[int|null
$sharedAge = null,
[Boolean|null
$private = null]]] )
Parameters
$template
— string- The template name
$maxAge
— object- Max age for client caching
$sharedAge
— object- Max age for shared (proxy) caching
$private
— object- Whether or not caching should apply for client caches only
Returns
- Response
- A Response instance