Under the Hood of Twig

simensen

Have you ever wondered why Twig is so easily extensible? It is possible because of how Twig loads and evaluates templates. In this session, learn how Twig parses templates, what a lexer is, and how Twig compiles templates into PHP. Walk away with a better understanding of how computer languages are parsed. Armed with this knowledge, extending Twig will become much easier!

Session Track

Symfony

Experience Level

Intermediate

Drupal Version