src/Project/todoBundle/Controller/TaskController.php
/**
     * Displays a form to create a new Task entity.
     *
     */
Displays a form to create a new Task entity.
Displays a form to create a new Task entity .
public function newAction()
    {
        $entity = new Task();
        $form   = $this->createCreateForm($entity);
        return $this->render('ProjecttodoBundle:Task:new.html.twig', array(
            'entity' => $entity,
            'form'   => $form->createView(),
        ));
    }
public function newAction ( ) { $ entity = new Task ( ) ; $ form = $ this -> createCreateForm ( $ entity ) ; return $ this -> render ( 'ProjecttodoBundle:Task:new.html.twig' , array ( 'entity' => $ entity , 'form' => $ form -> createView ( ) , ) ) ; }
Displays a form to create a new Task entity.
Displays a form to create a new Task entity .