$this->getDoctrine()->getRepository('CacicCommonBundle:Computador')->countAll(), 'totalInsucessosInstalacao' => $this->getDoctrine()->getRepository('CacicCommonBundle:InsucessoInstalacao')->countAll(), 'totalCompPorSO' => $this->getDoctrine()->getRepository('CacicCommonBundle:Computador')->countPorSO(), 'totalComp' => $this->getDoctrine()->getRepository('CacicCommonBundle:LogAcesso')->countPorComputador() ); return $this->render( 'CacicCommonBundle:Default:index.html.twig', array( 'estatisticas' => $estatisticas ) ); } /* * Página de download dos agentes */ public function downloadsAction() { return $this->render('CacicCommonBundle:Default:downloads.html.twig'); } }