我在哪里可以找到
FrameworkBundle:Template:template
在Symfony 3中,此命名空间如何工作
它用作默认控制器http://symfony.com/doc/current/cookbook/templating/render_without_controller.html
acme_privacy:
path: /privacy
defaults:
_controller: FrameworkBundle:Template:template
template: static/privacy.html.twig
这个特殊的控制器(Symfony\Bundle\FrameworkBundle\Controller\Template
)和方法操作可以在官方的githubsymfony\symfony
包中找到:
在Symfony\Bundle\FrameworkBundle\Controller
名称空间下。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句