| Total Complexity | 3 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class Passport implements PassportInterface |
||
| 11 | { |
||
| 12 | 1 | public function __construct( |
|
| 13 | private int $id, |
||
| 14 | private Collection $entitlements |
||
| 15 | 1 | ) {} |
|
| 16 | |||
| 17 | /** @var Collection<PassportRole> */ |
||
| 18 | 1 | public function getEntitlements(): Collection |
|
| 19 | { |
||
| 20 | 1 | return $this->entitlements; |
|
| 21 | } |
||
| 22 | |||
| 23 | 1 | public function getUserId(): int |
|
| 26 | } |
||
| 27 | } |
||
| 28 |