芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/libraries.3/vendor/spomky-labs/cbor-php/src/Tag/TagObjectManager.php
classes[$class::getTagId()] = $class; } public function getClassForValue(int $value): string { return array_key_exists($value, $this->classes) ? $this->classes[$value] : GenericTag::class; } public function createObjectForValue(int $additionalInformation, ?string $data, CBORObject $object): TagObject { $value = $additionalInformation; if ($additionalInformation >= 24) { Assertion::string($data, 'Invalid data'); $value = Utils::binToInt($data); } /** @var TagObject $class */ $class = $this->getClassForValue($value); return $class::createFromLoadedData($additionalInformation, $data, $object); } }