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

Controller   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A index() 0 6 1
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