Extending a Symfony parent Twig block in child view’s block with parent() call easy, useful and DRY

Twig blocks are like methods in a class.  If the Twig container is a class, Twig blocks are methods.  So you can call on a parent Twig view and extend the parent just like a function using the "parent()" function like below within the dynamic content tags, which are a pair of squiggly brackets.  Here's…

Symfony Framework: Calling on other controllers from your TWIG views handy and efficient

In the newest versions of Symfony greater than 2.2 you can embed output from controller by calling it with this handy TWIG snippet: Check out Sensio Lab's documentation to learn more. This is especially useful if you want to create a snippet that will deliver content independent of the controller you are calling the…