/home/techb158/ileadtechnology.com/SSM/vendor/nexmo/client-core/src/Network/Number
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/nexmo/client-core/src/Network/Number/Callback.php (2662B)
'number_type',
'Network' => 'carrier_network_code',
'NetworkName' => 'carrier_network_name',
'Valid' => 'valid',
'Ported' => 'ported',
'Reachable' => 'reachable',
'Roaming' => 'roaming',
'RoamingCountry' => 'roaming_country_code',
'RoamingNetwork' => 'roaming_network_code',
);
public function getId()
{
return $this->data['request_id'];
}
public function getCallbackTotal()
{
return $this->data['callback_total_parts'];
}
public function getCallbackIndex()
{
return $this->data['callback_part'];
}
public function getNumber()
{
return $this->data['number'];
}
public function __call($name, $args)
{
$type = substr($name, 0, 3);
$property = substr($name, 3);
if (!isset($this->optional[$property])) {
throw new \BadMethodCallException('property does not exist: ' . $property);
}
$property = $this->optional[$property];
switch ($type) {
case 'get':
if (isset($this->data[$property])) {
return $this->data[$property];
} else {
return null;
}
break;
case 'has':
return isset($this->data[$property]);
break;
}
throw new \BadMethodCallException('method does not exist: ' . $name);
}
}