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

Linux : switch between php versions [System]

Installer rapidement eslint 9 sur un projet node [Node]

Migrer vers serverless framework 3 [Node]

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

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