src/AppBundle/Controller/Astillero/ProveedorController.php
/**
     * Creates a form to delete a proveedor entity.
     *
     * @param Proveedor $proveedor The proveedor entity
     *
     * @return \Symfony\Component\Form\FormInterface
     */
Creates a form to delete a proveedor entity.
@param Proveedor $proveedor The proveedor entity


Creates a form to delete a proveedor entity . @param Proveedor $proveedor The proveedor entity
private function createDeleteForm(Proveedor $proveedor)
    {
        return $this->createFormBuilder()
            ->setAction($this->generateUrl('proveedor_delete', array('id' => $proveedor->getId())))
            ->setMethod('DELETE')
            ->getForm();
    }
private function createDeleteForm ( Proveedor $ proveedor ) { return $ this -> createFormBuilder ( ) -> setAction ( $ this -> generateUrl ( 'proveedor_delete' , array ( 'id' => $ proveedor -> getId ( ) ) ) ) -> setMethod ( 'DELETE' ) -> getForm ( ) ; }
Creates a form to delete a proveedor entity.
Creates a form to delete a proveedor entity .