original_string: private function createDeleteForm(Product $product)
      {
          return $this->createFormBuilder()
              ->setAction($this->generateUrl('ecommerce_product_delete', array('id' => $product->getId())))
              ->setMethod('DELETE')
              ->getForm()
          ;
      }
code: private function createDeleteForm(Product $product)
      {
          return $this->createFormBuilder()
              ->setAction($this->generateUrl('ecommerce_product_delete', array('id' => $product->getId())))
              ->setMethod('DELETE')
              ->getForm()
          ;
      }
code_tokens: private function createDeleteForm ( Product $ product ) { return $ this -> createFormBuilder ( ) -> setAction ( $ this -> generateUrl ( 'ecommerce_product_delete' , array ( 'id' => $ product -> getId ( ) ) ) ) -> setMethod ( 'DELETE' ) -> getForm ( ) ; }
docstring: Creates a form to delete a Product entity.
  
  @param Product $product The Product entity
  
  @return \Symfony\Component\Form\Form The form
docstring_tokens: Creates a form to delete a Product entity .