| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 18 | public function __construct($token, \DateTimeImmutable $expiresAt, $clientId, ResourceOwner $resourceOwner = null, array $scopes = []) |
||
| 19 | { |
||
| 20 | Ensure::string($token); |
||
| 21 | |||
| 22 | $this->accessToken = $token; |
||
| 23 | $this->expiresAt = $expiresAt; |
||
| 24 | $this->clientId = $clientId; |
||
| 25 | $this->resourceOwner = $resourceOwner; |
||
| 26 | $this->scopes = $scopes; |
||
| 27 | } |
||
| 28 | |||
| 54 |