Файловый менеджер - Редактировать - /home/lmsyaran/public_html/joomla5/libraries/vendor/web-auth/webauthn-lib/src/AttestationStatement/AttestationStatementSupportManager.php
Назад
<?php declare(strict_types=1); namespace Webauthn\AttestationStatement; use function array_key_exists; use Webauthn\Exception\InvalidDataException; class AttestationStatementSupportManager { /** * @var AttestationStatementSupport[] */ private array $attestationStatementSupports = []; public static function create(): self { return new self(); } public function add(AttestationStatementSupport $attestationStatementSupport): void { $this->attestationStatementSupports[$attestationStatementSupport->name()] = $attestationStatementSupport; } public function has(string $name): bool { return array_key_exists($name, $this->attestationStatementSupports); } public function get(string $name): AttestationStatementSupport { $this->has($name) || throw InvalidDataException::create($name, sprintf( 'The attestation statement format "%s" is not supported.', $name )); return $this->attestationStatementSupports[$name]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.12 |
proxy
|
phpinfo
|
Настройка