Access an object method with Twig

后端 未结 0 1264
悲&欢浪女
悲&欢浪女 2021-02-11 15:52

I have a symfony controller returning this:

return $this->render(\'MyBundle:Default:index.html.twig\', array(\'menu\' => $menu));

m

相关标签:
回答
  • 消灭零回复
提交回复
热议问题