Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
23 | final class AccessToken extends AbstractAccessToken |
||
24 | { |
||
25 | /** |
||
26 | * @var AccessTokenId |
||
27 | */ |
||
28 | private $id; |
||
29 | |||
30 | public function __construct(AccessTokenId $id, ClientId $clientId, ResourceOwnerId $resourceOwnerId, \DateTimeImmutable $expiresAt, DataBag $parameter, DataBag $metadata, ?ResourceServerId $resourceServerId) |
||
31 | { |
||
32 | parent::__construct($clientId, $resourceOwnerId, $expiresAt, $parameter, $metadata, $resourceServerId); |
||
33 | $this->id = $id; |
||
34 | } |
||
35 | |||
36 | public function getId(): AccessTokenId |
||
39 | } |
||
40 | } |
||
41 |