is it indended that this refers to twig? i thought this is about php templates.

there is a lot of code duplication with the twig extension: https://github.com/symfony-cmf/BlockBundle/blob/master/Twig/Extension/CmfBlockExtension.php - can we inject this helper into the twig extension and call the embedBlocks method from there instead? i guess the other way round we would start to depend on twig being installed... but the symfony template component will be installed either way, right?