Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/229.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 如何在symfony2中为类似小胡子的细枝配置创建配置_Php_Symfony_Mustache - Fatal编程技术网

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中创建有效的胡须配置?

可能重复它不是我需要的