src/AppBundle/Controller/BarcoController.php
/**
     * Finds and displays a barco entity.
     *
     * @Route("/{id}", name="barco_show")
     * @Method("GET")
     */
Finds and displays a barco entity.
Finds and displays a barco entity .
public function showAction(Barco $barco)
    {
        $deleteForm = $this->createDeleteForm($barco);
        return $this->render('barco/show.html.twig', array(
            'barco' => $barco,
            'delete_form' => $deleteForm->createView(),
        ));
    }
public function showAction ( Barco $ barco ) { $ deleteForm = $ this -> createDeleteForm ( $ barco ) ; return $ this -> render ( 'barco/show.html.twig' , array ( 'barco' => $ barco , 'delete_form' => $ deleteForm -> createView ( ) , ) ) ; }
Finds and displays a barco entity.
Finds and displays a barco entity .