Total Complexity | 8 |
Total Lines | 60 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class ResolverInterface implements PermissionResolverInterface |
||
14 | { |
||
15 | /** |
||
16 | * @inheritdoc |
||
17 | */ |
||
18 | public function isAllowed( |
||
38 | ); |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @param string $type |
||
43 | * @param array $rules |
||
44 | * @param string $role |
||
45 | * @param string $resource |
||
46 | * @param string|null $privilege |
||
47 | * @return bool |
||
48 | */ |
||
49 | private function check( |
||
75 |