Completed
Push — develop ( 85bafb...3a0932 )
by Laurent
26:10 queued 24:43
created

Controller::index()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Infrastructure\Controllers;
6
7
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
8
use Symfony\Component\HttpFoundation\Response;
9
use Symfony\Component\Routing\Annotation\Route;
10
11
final class Controller extends AbstractController
12
{
13
    /**
14
     * @Route("/", name="_home")
15
     */
16
    public function index(): Response
17
    {
18
        return $this->render('default/index.html.twig', [
19
            'controller_name' => 'Controller',
20
        ]);
21
    }
22
}
23