private function createDeleteForm(PaymentServiceProvider $paymentServiceProvider)
    {
        return $this->createFormBuilder()
            ->setAction($this->generateUrl('ecommerce_paymentserviceprovider_delete', array('id' => $paymentServiceProvider->getId())))
            ->setMethod('DELETE')
            ->getForm()
        ;
    }
private function createDeleteForm(PaymentServiceProvider $paymentServiceProvider)
    {
        return $this->createFormBuilder()
            ->setAction($this->generateUrl('ecommerce_paymentserviceprovider_delete', array('id' => $paymentServiceProvider->getId())))
            ->setMethod('DELETE')
            ->getForm()
        ;
    }
private function createDeleteForm ( PaymentServiceProvider $ paymentServiceProvider ) { return $ this -> createFormBuilder ( ) -> setAction ( $ this -> generateUrl ( 'ecommerce_paymentserviceprovider_delete' , array ( 'id' => $ paymentServiceProvider -> getId ( ) ) ) ) -> setMethod ( 'DELETE' ) -> getForm ( ) ; }
Creates a form to delete a PaymentServiceProvider entity.

@param PaymentServiceProvider $paymentServiceProvider The PaymentServiceProvider entity

@return \Symfony\Component\Form\Form The form
Creates a form to delete a PaymentServiceProvider entity .