You are here

public function Isp::__construct in Smart IP 7.2

Same name and namespace in other branches
  1. 6.2 includes/vendor/geoip2/geoip2/src/Model/Isp.php \GeoIp2\Model\Isp::__construct()

@ignore

Overrides AbstractModel::__construct

File

includes/vendor/geoip2/geoip2/src/Model/Isp.php, line 36

Class

Isp
This class provides the GeoIP2 Connection-Type model.

Namespace

GeoIp2\Model

Code

public function __construct($raw) {
  parent::__construct($raw);
  $this->autonomousSystemNumber = $this
    ->get('autonomous_system_number');
  $this->autonomousSystemOrganization = $this
    ->get('autonomous_system_organization');
  $this->isp = $this
    ->get('isp');
  $this->organization = $this
    ->get('organization');
  $this->ipAddress = $this
    ->get('ip_address');
}