lib/3rdParty/composer/web-auth/webauthn-lib/src/MetadataService/Statement/VerificationMethodANDCombinations.php
raw symbols SCIP| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Webauthn\MetadataService\Statement; |
| 6 | |
| 7 | class VerificationMethodANDCombinations |
| 8 | { |
| 9 | /** |
| 10 | * @param VerificationMethodDescriptor[] $verificationMethods |
| 11 | */ |
| 12 | public function __construct( |
| 13 | /** |
| 14 | * @readonly |
| 15 | */ |
| 16 | public array $verificationMethods = [] |
| 17 | ) { |
| 18 | } |
| 19 | |
| 20 | /** |
| 21 | * @param VerificationMethodDescriptor[] $verificationMethods |
| 22 | */ |
| 23 | public static function create(array $verificationMethods): self |
| 24 | { |
| 25 | return new self($verificationMethods); |
| 26 | } |
| 27 | } |