src/AmicaleBundle/Controller/AmicaleController.php
/**
     * Creates a form to delete a amicale entity.
     *
     * @param Amicale $amicale The amicale entity
     *
     * @return \Symfony\Component\Form\Form The form
     */
Creates a form to delete a amicale entity.
@param Amicale $amicale The amicale entity

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