Ojs\AdminBundle\Controller\AdminController::statsAction PHP Method

statsAction() public method

public statsAction ( ) : RedirectResponse | Response
return Symfony\Component\HttpFoundation\RedirectResponse | Symfony\Component\HttpFoundation\Response
    public function statsAction()
    {
        $cache = $this->get('file_cache');
        if (!$cache->contains('admin_statistics')) {
            $this->cacheAdminStats();
        }
        return $this->render('OjsAdminBundle:Admin:stats.html.twig', $cache->fetch('admin_statistics'));
    }