TemplateController
TemplateController
class TemplateController implements ContainerAwareInterface
TemplateController.
Traits
ContainerAwareTrait | ContainerAware trait. |
Methods
setContainer(ContainerInterface $container = null) Sets the container. | from ContainerAwareTrait | |
Response | templateAction(string $template, int|null $maxAge = null, int|null $sharedAge = null, bool|null $private = null) Renders a template. |
Details
setContainer(ContainerInterface $container = null)
Sets the container.
Response templateAction(string $template, int|null $maxAge = null, int|null $sharedAge = null, bool|null $private = null)
Renders a template.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Bundle/FrameworkBundle/Controller/TemplateController.html