| Total Complexity | 3 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class ClaimSetEntry implements ClaimSetEntryInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $scope; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var array |
||
| 21 | */ |
||
| 22 | protected $claims; |
||
| 23 | |||
| 24 | public function __construct( |
||
| 25 | string $scope, |
||
| 26 | array $claims |
||
| 27 | ) { |
||
| 28 | $this->scope = $scope; |
||
| 29 | $this->claims = $claims; |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Get scope |
||
| 34 | * |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | public function getScope(): string |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Get claims |
||
| 44 | * |
||
| 45 | * @return ClaimSetInterface[] |
||
| 46 | */ |
||
| 47 | public function getClaims(): array |
||
| 52 |