Knp\Bundle\KnpBundlesBundle\Controller\BundleController::evolutionAction PHP Method

evolutionAction() public method

public evolutionAction ( )
    public function evolutionAction()
    {
        $period = $this->container->getParameter('knp_bundles.evolution.period');
        return $this->render('KnpBundlesBundle:Bundle:evolution.html.twig', array('evolution' => array(array('name' => 'Bundles updated', 'data' => $this->getRepository('Score')->getEvolutionCounts($period))), 'recentItems' => array(array('name' => 'New bundles', 'data' => $this->getRepository('Bundle')->getEvolutionCounts($period)), array('name' => 'New developers', 'data' => $this->getRepository('Developer')->getEvolutionCounts($period)), array('name' => 'New organizations', 'data' => $this->getRepository('Organization')->getEvolutionCounts($period))), 'bundles' => $this->getRepository('Bundle')->count(), 'developers' => $this->getRepository('Developer')->count(), 'organizations' => $this->getRepository('Organization')->count()));
    }