public function Domain::__construct in Smart IP 6.2
Same name and namespace in other branches
- 7.2 includes/vendor/geoip2/geoip2/src/Model/Domain.php \GeoIp2\Model\Domain::__construct()
@ignore
Overrides AbstractModel::__construct
File
- includes/
vendor/ geoip2/ geoip2/ src/ Model/ Domain.php, line 24
Class
- Domain
- This class provides the GeoIP2 Domain model.
Namespace
GeoIp2\ModelCode
public function __construct($raw) {
parent::__construct($raw);
$this->domain = $this
->get('domain');
$this->ipAddress = $this
->get('ip_address');
}