< Ω Skill Recommendation: Symfony

Rendering a Template

HTL Rennweg

Show in app

Description

Rendering a HTML response from a controller with the help of the Twig templating framework in Symfony.

Goals

I know

  • the requirements for using Twig with Symfony

I can

  • enable Twig rendering with my Symfony installation
  • pass variables from a controller to the view
  • render the template with the help of the controller to create a HTML response