Welcome
  • Tags
  • Login
  • Sign up

Dump all variables present on a twig template


Dec 14, 2022 Symfony


In your twig template add the following line

{{ dump(_context|keys) }}

symfony
twig
short

Categories

Symfony Node Serverless Docker PHP Typescript mac os System

Recent posts

Create a custom attribute/annotation and understand @security annotation behind the scene [Symfony]

Create a ssl certificate using let's encrypt [System]

Usual Makefile commands on symfony project [Symfony]

Symfony create a custom logger file and understand behind the scene [Symfony]

Démarrer un nouveau projet symfony 6 comme un sénior sous docker [Symfony]