Php 如何在symfony2中为类似小胡子的细枝配置创建配置
我为细枝创建配置Php 如何在symfony2中为类似小胡子的细枝配置创建配置,php,symfony,mustache,Php,Symfony,Mustache,我为细枝创建配置 twig: debug: "%kernel.debug%" strict_variables: "%kernel.debug%" paths: "%kernel.root_dir%/../../web/admin": admin_templates "%kernel.root_dir%/../../web": templates 并在渲染函数中使用admin_模板 return $t
twig:
debug: "%kernel.debug%"
strict_variables: "%kernel.debug%"
paths:
"%kernel.root_dir%/../../web/admin": admin_templates
"%kernel.root_dir%/../../web": templates
并在渲染函数中使用admin_模板
return $this->render('@admin_templates/hello.html.twig');
我想创建配置的胡子和使用
return $this->render('@admin_templates/hello.html.mustache');
如何在symfony2中创建有效的胡须配置?可能重复它不是我需要的