File manager - Edit - /home/ferretapmx/public_html/libraries/vendor/php-tuf/php-tuf/src/Metadata/FileInfoMetadataBase.php
Back
<?php namespace Tuf\Metadata; /** * Base class for metadata objects that store information about other metadata files. */ abstract class FileInfoMetadataBase extends MetadataBase { /** * Gets file information value under the 'meta' key. * * @param string $key * The array key under 'meta'. * @param boolean $allowUntrustedAccess * Whether this method should access even if the metadata is not trusted. * * @return array|null * The file information if available or null if not set. */ public function getFileMetaInfo(string $key, bool $allowUntrustedAccess = false): ?array { $this->ensureIsTrusted($allowUntrustedAccess); $signed = $this->getSigned(); return $signed['meta'][$key] ?? null; } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings