芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/bit-alphas-ltd.com/user/project/vendor/vonage/client-core/src/Insights/Basic.php
data['national_format_number'] = $number; } public function getRequestId(): string { return $this->data['request_id']; } public function getNationalFormatNumber(): string { return $this->data['national_format_number']; } public function getInternationalFormatNumber(): string { return $this->data['international_format_number']; } public function getCountryCode(): string { return $this->data['country_code']; } public function getCountryCodeISO3(): string { return $this->data['country_code_iso3']; } public function getCountryName(): string { return $this->data['country_name']; } public function getCountryPrefix(): int { return $this->data['country_prefix']; } /** * @return array|mixed */ #[\ReturnTypeWillChange] public function jsonSerialize() { return $this->toArray(); } /** * @return void|null */ public function jsonUnserialize(array $json): void { trigger_error( get_class($this) . "::jsonUnserialize is deprecated, please fromArray() instead", E_USER_DEPRECATED ); $this->fromArray($json); } public function offsetExists($offset): bool { trigger_error( "Array access for " . get_class($this) . " is deprecated, please use getter methods", E_USER_DEPRECATED ); return isset($this->data[$offset]); } #[\ReturnTypeWillChange] public function offsetGet($offset) { trigger_error( "Array access for " . get_class($this) . " is deprecated, please use getter methods", E_USER_DEPRECATED ); return $this->data[$offset]; } /** * @throws ClientException */ public function offsetSet($offset, $value): void { throw new ClientException('Number insights results are read only'); } /** * @throws ClientException */ public function offsetUnset($offset): void { throw new ClientException('Number insights results are read only'); } public function fromArray(array $data): void { $this->data = $data; } public function toArray(): array { return $this->data; } }