private function createEditForm(PermissionsGroup $permissionsGroup)
    {
        $form = $this->createForm(new PermissionsGroupType(), $permissionsGroup, array(
            'action' => $this->generateUrl('admin_permissionsgroup_update', array('id' => $permissionsGroup->getId())),
            'method' => 'PUT',
        ));

        $form->add('submit', 'submit', array('label' => 'Update'));

        return $form;
    }
private function createEditForm(PermissionsGroup $permissionsGroup)
    {
        $form = $this->createForm(new PermissionsGroupType(), $permissionsGroup, array(
            'action' => $this->generateUrl('admin_permissionsgroup_update', array('id' => $permissionsGroup->getId())),
            'method' => 'PUT',
        ));

        $form->add('submit', 'submit', array('label' => 'Update'));

        return $form;
    }
private function createEditForm ( PermissionsGroup $ permissionsGroup ) { $ form = $ this -> createForm ( new PermissionsGroupType ( ) , $ permissionsGroup , array ( 'action' => $ this -> generateUrl ( 'admin_permissionsgroup_update' , array ( 'id' => $ permissionsGroup -> getId ( ) ) ) , 'method' => 'PUT' , ) ) ; $ form -> add ( 'submit' , 'submit' , array ( 'label' => 'Update' ) ) ; return $ form ; }
Creates a form to edit a PermissionsGroup entity.

@param PermissionsGroup $permissionsGroup The entity

@return \Symfony\Component\Form\Form The form
Creates a form to edit a PermissionsGroup entity .