HEX
Server: Apache
System: Linux srv13.cpanelhost.cl 3.10.0-962.3.2.lve1.5.38.el7.x86_64 #1 SMP Thu Jun 18 05:28:41 EDT 2020 x86_64
User: cca63905 (4205)
PHP: 7.3.20
Disabled: NONE
Upload Files
File: //proc/self/cwd/nueva/vendor/geoip2/geoip2/src/Model/AnonymousIp.php
<?php

namespace GeoIp2\Model;

/**
 * This class provides the GeoIP2 Anonymous IP model.
 *
 * @property-read boolean $isAnonymous This is true if the IP address belongs to
 *     any sort of anonymous network.
 *
 * @property-read boolean $isAnonymousVpn This is true if the IP address belongs to
 *     an anonymous VPN system.
 *
 * @property-read boolean $isHostingProvider This is true if the IP address belongs
 *     to a hosting provider.
 *
 * @property-read boolean $isPublicProxy This is true if the IP address belongs to
 *     a public proxy.
 *
 * @property-read boolean $isTorExitNode This is true if the IP address is a Tor
 *     exit node.
 *
 * @property-read string $ipAddress The IP address that the data in the model is
 *     for.
 *
 */
class AnonymousIp extends AbstractModel
{
    protected $isAnonymous;
    protected $isAnonymousVpn;
    protected $isHostingProvider;
    protected $isPublicProxy;
    protected $isTorExitNode;
    protected $ipAddress;

    /**
     * @ignore
     */
    public function __construct($raw)
    {
        parent::__construct($raw);

        $this->isAnonymous = $this->get('is_anonymous');
        $this->isAnonymousVpn = $this->get('is_anonymous_vpn');
        $this->isHostingProvider = $this->get('is_hosting_provider');
        $this->isPublicProxy = $this->get('is_public_proxy');
        $this->isTorExitNode = $this->get('is_tor_exit_node');
        $this->ipAddress = $this->get('ip_address');
    }
}