Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| HomeController | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| home | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace App\Controller; |
| 4 | |
| 5 | use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; |
| 6 | use Symfony\Component\HttpFoundation\Response; |
| 7 | use Symfony\Component\Routing\Attribute\Route; |
| 8 | |
| 9 | class HomeController extends AbstractController |
| 10 | { |
| 11 | #[Route("/", name: "home")] |
| 12 | public function home(): Response |
| 13 | { |
| 14 | return $this->render('front/home.html.twig'); |
| 15 | } |
| 16 | } |