芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/libraries/vendor/spomky-labs/cbor-php/src/OtherObject/OtherObjectManager.php
classes[$ai] = $class; } } public function getClassForValue(int $value): string { return array_key_exists($value, $this->classes) ? $this->classes[$value] : GenericObject::class; } public function createObjectForValue(int $value, ?string $data): OtherObject { /** @var OtherObject $class */ $class = $this->getClassForValue($value); return $class::createFromLoadedData($value, $data); } }