| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity |
||
| 17 | { |
||
| 18 | private $id; |
||
| 19 | |||
| 20 | public function __construct(string $name, ?string $id = null, ?string $icon = null) |
||
| 21 | { |
||
| 22 | parent::__construct($name, $icon); |
||
| 23 | $this->id = $id; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function getId(): ?string |
||
| 27 | { |
||
| 28 | return $this->id; |
||
| 29 | } |
||
| 30 | |||
| 31 | public function jsonSerialize(): array |
||
| 39 | } |
||
| 40 | } |
||
| 41 |