src/AppBundle/Controller/Tienda/PeticionController.php
/**
     * Creates a form to delete a peticion entity.
     *
     * @param Peticion $peticion The peticion entity
     *
     * @return \Symfony\Component\Form\Form The form
     */
Creates a form to delete a peticion entity.
@param Peticion $peticion The peticion entity

@return \Symfony\Component\Form\Form The form
Creates a form to delete a peticion entity . @param Peticion $peticion The peticion entity @return \ Symfony \ Component \ Form \ Form The form
private function createDeleteForm(Peticion $peticion)
    {
        return $this->createFormBuilder()
            ->setAction($this->generateUrl('tienda_peticion_delete', array('id' => $peticion->getId())))
            ->setMethod('DELETE')
            ->getForm()
        ;
    }
private function createDeleteForm ( Peticion $ peticion ) { return $ this -> createFormBuilder ( ) -> setAction ( $ this -> generateUrl ( 'tienda_peticion_delete' , array ( 'id' => $ peticion -> getId ( ) ) ) ) -> setMethod ( 'DELETE' ) -> getForm ( ) ; }
Creates a form to delete a peticion entity.
Creates a form to delete a peticion entity .