Closed beberlei closed 10 years ago
A response class that accepts a template name and arguments and the ViewListener renders it.
Variant A (Full Template Name):
return new TemplateResponse('FooBundle:Bar:baz.html.twig', array());
Variant B (Action name only, Bundle+Controller inferred):
return new TemplateResponse('baz.html.twig', array());
Implemented, slightly different with the action names, see README
A response class that accepts a template name and arguments and the ViewListener renders it.
Variant A (Full Template Name):
Variant B (Action name only, Bundle+Controller inferred):