src/GPublicationBundle/Controller/ReactionController.php
/**
     * Creates a form to delete a reaction entity.
     *
     * @param Reaction $reaction The reaction entity
     *
     * @return \Symfony\Component\Form\Form The form
     */
Creates a form to delete a reaction entity.
@param Reaction $reaction The reaction entity

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