The document discusses the Twig templating language for PHP, providing an overview of its syntax like tags for logic and output and how to create custom extensions. It also describes how to register a Twig extension as a service in Symfony using dependency injection and create custom filters, functions, and tests for the extension using Twig_Function_Method, Twig_Filter_Method and Twig_Test_Method
![Twigエクステンションの作り方](https://cdn-ak-scissors.b.st-hatena.com/image/square/7a45467f5aca8c0d36686ba1ecde2d52d413a33a/height=288;version=1;width=512/https%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2Fsf-study5-twig-20111204-111204015050-phpapp02-thumbnail.jpg%3Fwidth%3D640%26height%3D640%26fit%3Dbounds)