Controller/CountyController.php
/**
     * Finds and displays a County entity.
     *
     * @Route("/{county}/show", name="county_show")
     *
     * @Method("GET")
     * @Template("LthrtCCSBundle:County:show.html.twig")
     */
Finds and displays a County entity.


Finds and displays a County entity .
public function showAction(
        Request $request,
        County  $county
    ) {
        $this->notFound($county);
        $deleteForm = $this->createDeleteForm($county);
        return [
            'county'      => $county,
            'delete_form' => $deleteForm->createView(),
        ];
    }
public function showAction ( Request $ request , County $ county ) { $ this -> notFound ( $ county ) ; $ deleteForm = $ this -> createDeleteForm ( $ county ) ; return [ 'county' => $ county , 'delete_form' => $ deleteForm -> createView ( ) , ] ; }
Finds and displays a County entity.
Finds and displays a County entity .