Controller/DefaultController.php
public function indexAction()
    {
        $cm = new CronManager();
        $this->addFlashFromCronManager($cm);

        $form = $this->createCronForm(new Cron());

        return $this->render('@BCCCronManager/Default/index.html.twig', array(
            'crons' => $cm->get(),
            'raw'   => $cm->getRaw(),
            'form'  => $form->createView(),
        ));
    }
public function indexAction()
    {
        $cm = new CronManager();
        $this->addFlashFromCronManager($cm);

        $form = $this->createCronForm(new Cron());

        return $this->render('@BCCCronManager/Default/index.html.twig', array(
            'crons' => $cm->get(),
            'raw'   => $cm->getRaw(),
            'form'  => $form->createView(),
        ));
    }
public function indexAction ( ) { $ cm = new CronManager ( ) ; $ this -> addFlashFromCronManager ( $ cm ) ; $ form = $ this -> createCronForm ( new Cron ( ) ) ; return $ this -> render ( '@BCCCronManager/Default/index.html.twig' , array ( 'crons' => $ cm -> get ( ) , 'raw' => $ cm -> getRaw ( ) , 'form' => $ form -> createView ( ) , ) ) ; }
Displays the current crons and a form to add a new one.

@return Response
Displays the current crons and a form to add a new one .