Completed
Push — master ( 3de9bb...339b13 )
by Julito
09:11
created

AccessDeniedHandler   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
dl 0
loc 4
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 2 1
1
<?php
2
3
/* For licensing terms, see /license.txt */
4
5
namespace Chamilo\CoreBundle\Security;
6
7
use Symfony\Component\HttpFoundation\Request;
8
use Symfony\Component\HttpFoundation\Response;
9
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
10
use Symfony\Component\Security\Http\Authorization\AccessDeniedHandlerInterface;
11
12
class AccessDeniedHandler implements AccessDeniedHandlerInterface
13
{
14
    public function handle(Request $request, AccessDeniedException $accessDeniedException)
15
    {
16
        //return new Response('$content', 403);
17
    }
18
}
19