Completed
Push — next ( 80f341...5537c5 )
by Thomas
08:03 queued 04:11
created

SettingsController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A index() 0 6 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Oc\Controller\Backend;
6
7
//use Oc\Entity\CachesEntity;
8
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
9
use Symfony\Component\HttpFoundation\Response;
10
use Symfony\Component\Routing\Annotation\Route;
11
12
class SettingsController extends AbstractController
13
{
14
    /**
15
     * @Route("/settings", name="settings_index")
16
     */
17
    public function index(): Response
18
    {
19
        // $this->denyAccessUnlessGranted('CAN_VIEW', CachesEntity::class);
20
21
        return $this->render('backend/settings/index.html.twig');
22
    }
23
}
24