| Conditions | 3 |
| Paths | 4 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 67 | public function jsonSerialize() |
||
| 68 | { |
||
| 69 | $data = [ |
||
| 70 | 'initial_access_token_id' => $this->getId()->getValue(), |
||
| 71 | 'user_account_id' => null !== $this->getUserAccountId() ? $this->getUserAccountId()->getValue() : null, |
||
| 72 | 'expires_at' => null !== $this->getExpiresAt() ? $this->getExpiresAt()->getTimestamp() : null, |
||
| 73 | 'is_revoked' => $this->isRevoked(), |
||
| 74 | ]; |
||
| 75 | |||
| 76 | return $data; |
||
| 77 | } |
||
| 78 | } |
||
| 79 |