Debian Codegraph @

lib/3rdParty/composer/web-auth/webauthn-lib/src/PublicKeyCredentialRpEntity.php

raw symbols SCIP
1 <?php
2
3 declare(strict_types=1);
4
5 namespace Webauthn;
6
7 class PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity
8 {
9 public function __construct(
10 string $name = '',
11 public readonly ?string $id = null,
12 ?string $icon = null
13 ) {
14
15 parent::__construct($name, $icon);
16 }
17
18 public static function create(string $name = '', ?string $id = null, ?string $icon = null): self
19 {
20 return new self($name, $id, $icon);
21 }
22 }