Controller/ZipController.php
/**
     * Gets edit form existing Zip entity.
     *
     * @Route("/{zip}/edit", name="zip_edit")
     *
     * @Method({"GET"})
     * @Template("LthrtCCSBundle:Zip:edit.html.twig")
     */
Gets edit form existing Zip entity.


Gets edit form existing Zip entity .
public function editAction(
        Request $request,
        Zip     $zip
    ) {
        $this->notFound($zip);
        $form       = $this->createEditForm($zip);
        $deleteForm = $this->createDeleteForm($zip);
        return [
            'zip'         => $zip,
            'form'        => $form->createView(),
            'delete_form' => $deleteForm->createView(),
        ];
    }
public function editAction ( Request $ request , Zip $ zip ) { $ this -> notFound ( $ zip ) ; $ form = $ this -> createEditForm ( $ zip ) ; $ deleteForm = $ this -> createDeleteForm ( $ zip ) ; return [ 'zip' => $ zip , 'form' => $ form -> createView ( ) , 'delete_form' => $ deleteForm -> createView ( ) , ] ; }
Gets edit form existing Zip entity.
Gets edit form existing Zip entity .