Total Complexity | 5 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | abstract class PublicKeyCredentialEntity implements \JsonSerializable |
||
17 | { |
||
18 | private $name; |
||
19 | |||
20 | private $icon; |
||
21 | |||
22 | public function __construct(string $name, ?string $icon) |
||
23 | { |
||
24 | $this->name = $name; |
||
25 | $this->icon = $icon; |
||
26 | } |
||
27 | |||
28 | public function getName(): string |
||
31 | } |
||
32 | |||
33 | public function getIcon(): ?string |
||
36 | } |
||
37 | |||
38 | public function jsonSerialize(): array |
||
50 |