Lines
100.00%
1 / 1
Functions and Methods
100.00%
1 / 1
Classes and Traits
100.00%
1 / 1
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| DefaultController | 100.00% | 1 / 1 | 100.00% | 1 / 1 | 1 | 100.00% | 1 / 1 | |||
| __invoke | 100.00% | 1 / 1 | 100.00% | 1 / 1 | 1 | |||||
| 1 | <?php | |
| 2 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace App\Controller; | |
| 6 | ||
| 7 | use Symfony\Component\HttpFoundation\Response; | |
| 8 | use Symfony\Component\Routing\Attribute\Route; | |
| 9 | ||
| 10 | #[Route('/', name: 'app_default', methods: ['GET'])] | |
| 11 | class DefaultController extends BaseController | |
| 12 | { | |
| 13 | public function __invoke(): Response | |
| 14 | { | |
| 15 | return $this->render('default/index.html.twig'); | |
| 16 | } | |
| 17 | } |