| 1 | <?php declare(strict_types=1); |
||
| 7 | class Passport implements PassportInterface |
||
| 8 | { |
||
| 9 | /** @var int $userId */ |
||
| 10 | private $userId; |
||
| 11 | |||
| 12 | /** @var array $entitlements */ |
||
| 13 | private $entitlements; |
||
| 14 | |||
| 15 | public function __construct(int $id, array $entitlements) |
||
| 20 | |||
| 21 | public function getEntitlements(): array |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return int |
||
| 28 | */ |
||
| 29 | public function getUserId(): int |
||
| 33 | } |