This commit is contained in:
Fabien Potencier 2020-01-10 13:09:39 +01:00
parent 22bebd805c
commit 37a886354a

View File

@ -33,11 +33,11 @@ class TemplateController
/** /**
* Renders a template. * Renders a template.
* *
* @param string $template The template name * @param string $template The template name
* @param int|null $maxAge Max age for client caching * @param int|null $maxAge Max age for client caching
* @param int|null $sharedAge Max age for shared (proxy) caching * @param int|null $sharedAge Max age for shared (proxy) caching
* @param bool|null $private Whether or not caching should apply for client caches only * @param bool|null $private Whether or not caching should apply for client caches only
* @param array $context The context (arguments) of the template * @param array $context The context (arguments) of the template
*/ */
public function templateAction(string $template, int $maxAge = null, int $sharedAge = null, bool $private = null, array $context = []): Response public function templateAction(string $template, int $maxAge = null, int $sharedAge = null, bool $private = null, array $context = []): Response
{ {