I want to know what is best for rendering a controller in a branch or using a macro. For example, we have a page on which we post a message with its comments.
Which one is best? I am using symfony2
, , , .
:
Twig, ( ). Twig , , , . , , Twig. , . , , , .
, , , . , , Twig , . Twig , .
TwigExtension, , . ...