Total Complexity | 5 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 23.08% |
Changes | 0 |
1 | <?php |
||
16 | class AuthorizationCheckerWrapper implements AuthorizationCheckerInterface |
||
17 | { |
||
18 | private static $cache = []; |
||
19 | |||
20 | private $authorizationChecker; |
||
21 | |||
22 | 22 | public function __construct(AuthorizationCheckerInterface $authorizationChecker) |
|
23 | { |
||
24 | 22 | $this->authorizationChecker = $authorizationChecker; |
|
25 | 22 | } |
|
26 | |||
27 | /** |
||
28 | * {@inheritdoc} |
||
29 | */ |
||
30 | public function isGranted($attributes, $subject = null): bool |
||
49 | } |
||
50 | } |
||
51 |