当尝试在我的包config.yml模式下声明时,变量在我的项目上执行小枝模板, globals:我知道这个错误。Looked for namespace "twig", found noneGlobalsExtension.phpnamespace Vendor\MyBundle\Twig\Extension;
class Globa
我在渲染Twig视图和JSON响应时遇到问题,我需要调用twig视图并将一个新的Json响应作为参数传递给它。$contador_usuarios);
return new JsonResponse($resultado, $this->render('others/adminlte.html.twig