问题
Can someone explain to me about this?
can we have more than one controller in one view (html.twig) in Symfony?
If it can using multiple controller in a view, how to use it? Can give me an example how to
回答1:
I'm guessing you want to use render. Here's the documentation & example:
http://symfony.com/doc/current/book/templating.html#embedding-controllers
来源:https://stackoverflow.com/questions/27810785/having-more-than-one-controller-in-one-view-in-symfony