/**
* @param $name
* @return Response
* @Route ("/afficheN/{name}",name="afficheN")
*/
public function afficheName($name){
return $this->render(view:'student/affiche.html.twig',
['n' => $name]);
}
My Answer:
$name: string)_ * public function hello($name)_ * {_ * return new Response("Hello, $name!");_ *}
Rate this post
3 of 5 based on 5321 votesComments