src/AppBundle/Controller/Astillero/ServicioController.php
/**
     * Creates a form to delete a servicio entity.
     *
     * @param Servicio $servicio The servicio entity
     *
     * @return \Symfony\Component\Form\Form The form
     */
Creates a form to delete a servicio entity.
@param Servicio $servicio The servicio entity

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