Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class Reference implements ReferenceInterface |
||
13 | { |
||
14 | /** @var string */ |
||
15 | private $role; |
||
16 | |||
17 | /** @var array */ |
||
18 | private $scope = []; |
||
19 | |||
20 | /** |
||
21 | * @param string $role |
||
22 | * @param array $scope |
||
23 | */ |
||
24 | public function __construct(string $role, array $scope) |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @inheritdoc |
||
32 | */ |
||
33 | public function __role(): string |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @inheritdoc |
||
40 | */ |
||
41 | public function __scope(): array |
||
44 | } |
||
45 | } |