src/AppBundle/Controller/ClienteController.php
/**
     * Creates a form to delete a cliente entity.
     *
     * @param Cliente $cliente The cliente entity
     *
     * @return \Symfony\Component\Form\FormInterface
     */
Creates a form to delete a cliente entity.
@param Cliente $cliente The cliente entity


Creates a form to delete a cliente entity . @param Cliente $cliente The cliente entity
private function createDeleteForm(Cliente $cliente)
    {
        return $this->createFormBuilder()
            ->setAction($this->generateUrl('cliente_delete', ['id' => $cliente->getId()]))
            ->setMethod('DELETE')
            ->getForm();
    }
private function createDeleteForm ( Cliente $ cliente ) { return $ this -> createFormBuilder ( ) -> setAction ( $ this -> generateUrl ( 'cliente_delete' , [ 'id' => $ cliente -> getId ( ) ] ) ) -> setMethod ( 'DELETE' ) -> getForm ( ) ; }
Creates a form to delete a cliente entity.
Creates a form to delete a cliente entity .