Bundle/BusinessPageBundle/Controller/BusinessTemplateController.php
private function createEditForm(BusinessTemplate $view)
    {
        $businessProperties = $this->getBusinessProperties($view);

        $form = $this->createForm(BusinessTemplateType::class, $view, [
            'action'                  => $this->generateUrl('victoire_business_template_update', ['id' => $view->getId()]),
            'method'                  => 'PUT',
            'vic_business_properties' => $businessProperties,
        ]);

        return $form;
    }
private function createEditForm(BusinessTemplate $view)
    {
        $businessProperties = $this->getBusinessProperties($view);

        $form = $this->createForm(BusinessTemplateType::class, $view, [
            'action'                  => $this->generateUrl('victoire_business_template_update', ['id' => $view->getId()]),
            'method'                  => 'PUT',
            'vic_business_properties' => $businessProperties,
        ]);

        return $form;
    }
private function createEditForm ( BusinessTemplate $ view ) { $ businessProperties = $ this -> getBusinessProperties ( $ view ) ; $ form = $ this -> createForm ( BusinessTemplateType :: class , $ view , [ 'action' => $ this -> generateUrl ( 'victoire_business_template_update' , [ 'id' => $ view -> getId ( ) ] ) , 'method' => 'PUT' , 'vic_business_properties' => $ businessProperties , ] ) ; return $ form ; }
Creates a form to edit a BusinessTemplate entity.

@param BusinessTemplate $view The entity

@throws \Exception

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