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

SettingsController::index()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 6
rs 10
c 0
b 0
f 0
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