public function statsAction()
    {
        $om = $this->getObjectManager();
        $repository = $om->getRepository('TamagoTipsManagerBundle:TamagoTransUnitMeta');
        $stats = $repository->stats();

        return $this->render('TamagoTipsManagerBundle:Default:stats.html.twig', ['stats' => $stats]);
    }
public function statsAction()
    {
        $om = $this->getObjectManager();
        $repository = $om->getRepository('TamagoTipsManagerBundle:TamagoTransUnitMeta');
        $stats = $repository->stats();

        return $this->render('TamagoTipsManagerBundle:Default:stats.html.twig', ['stats' => $stats]);
    }
public function statsAction ( ) { $ om = $ this -> getObjectManager ( ) ; $ repository = $ om -> getRepository ( 'TamagoTipsManagerBundle:TamagoTransUnitMeta' ) ; $ stats = $ repository -> stats ( ) ; return $ this -> render ( 'TamagoTipsManagerBundle:Default:stats.html.twig' , [ 'stats' => $ stats ] ) ; }
Render stats page.

@return Response
Render stats page .