ÿØÿà JFIF ÿÛ „ ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/adimi/application/libraries/nexmo/vendor/nexmo/client/src/Insights/ |
<?php namespace Nexmo\Insights; use Nexmo\Client\Exception\Exception; use Nexmo\Entity\JsonUnserializableInterface; class Basic implements \JsonSerializable, JsonUnserializableInterface, \ArrayAccess { protected $data = []; public function __construct($number) { $this->data['national_format_number'] = $number; } /** * @return string */ public function getRequestId() { return $this['request_id']; } /** * @return string */ public function getNationalFormatNumber() { return $this['national_format_number']; } /** * @return string */ public function getInternationalFormatNumber() { return $this['international_format_number']; } /** * @return string */ public function getCountryCode() { return $this['country_code']; } /** * @return string */ public function getCountryCodeISO3() { return $this['country_code_iso3']; } /** * @return string */ public function getCountryName() { return $this['country_name']; } /** * @return integer */ public function getCountryPrefix() { return $this['country_prefix']; } public function jsonSerialize() { return $this->data; } public function jsonUnserialize(array $json) { $this->data = $json; } public function offsetExists($offset) { return isset($this->data[$offset]); } public function offsetGet($offset) { return $this->data[$offset]; } public function offsetSet($offset, $value) { throw new Exception('Number insights results are read only'); } public function offsetUnset($offset) { throw new Exception('Number insights results are read only'); } }