| Total Complexity | 6 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class AttestedCredentialData implements \JsonSerializable |
||
| 22 | { |
||
| 23 | private $aaguid; |
||
| 24 | |||
| 25 | private $credentialId; |
||
| 26 | |||
| 27 | private $credentialPublicKey; |
||
| 28 | |||
| 29 | public function __construct(string $aaguid, string $credentialId, ?MapObject $credentialPublicKey) |
||
| 30 | { |
||
| 31 | $this->aaguid = $aaguid; |
||
| 32 | $this->credentialId = $credentialId; |
||
| 33 | $this->credentialPublicKey = $credentialPublicKey; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getAaguid(): string |
||
| 37 | { |
||
| 38 | return $this->aaguid; |
||
| 39 | } |
||
| 40 | |||
| 41 | public function getCredentialId(): string |
||
| 44 | } |
||
| 45 | |||
| 46 | public function getCredentialPublicKey(): ?MapObject |
||
| 47 | { |
||
| 48 | return $this->credentialPublicKey; |
||
| 49 | } |
||
| 50 | |||
| 51 | public function jsonSerialize() |
||
| 62 | } |
||
| 63 | } |
||
| 64 |