public function newAction()
    {
        $group = new Group();
        $form = $this->createForm(GroupType::class, $group);

        return array(
            'group' => $group,
            'form' => $form->createView()
        );
    }
public function newAction()
    {
        $group = new Group();
        $form = $this->createForm(GroupType::class, $group);

        return array(
            'group' => $group,
            'form' => $form->createView()
        );
    }
public function newAction ( ) { $ group = new Group ( ) ; $ form = $ this -> createForm ( GroupType :: class , $ group ) ; return array ( 'group' => $ group , 'form' => $ form -> createView ( ) ) ; }
Displays a form to create a new Group entity.

@Route("/new", name="orkestra_group_new")
@Template()
@Secure(roles="ROLE_GROUP_WRITE")
Displays a form to create a new Group entity .