__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
declare(strict_types=1);
namespace WP_Statistics\Dependencies\GeoIp2\Model;
/**
* @ignore
*/
abstract class AbstractModel implements \JsonSerializable
{
/**
* @var array<string, mixed>
*/
protected $raw;
/**
* @ignore
*/
public function __construct(array $raw)
{
$this->raw = $raw;
}
/**
* @ignore
*
* @return mixed
*/
protected function get(string $field)
{
if (isset($this->raw[$field])) {
return $this->raw[$field];
}
if (preg_match('/^is_/', $field)) {
return false;
}
return null;
}
/**
* @ignore
*
* @return mixed
*/
public function __get(string $attr)
{
if ($attr !== 'instance' && property_exists($this, $attr)) {
return $this->{$attr};
}
throw new \RuntimeException("Unknown attribute: $attr");
}
/**
* @ignore
*/
public function __isset(string $attr): bool
{
return $attr !== 'instance' && isset($this->{$attr});
}
#[\ReturnTypeWillChange]
public function jsonSerialize(): array
{
return $this->raw;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| AbstractModel.php | File | 1.19 KB | 0644 |
|
| AnonymousIp.php | File | 2.59 KB | 0644 |
|
| Asn.php | File | 1.53 KB | 0644 |
|
| City.php | File | 3.62 KB | 0644 |
|
| ConnectionType.php | File | 1.27 KB | 0644 |
|
| Country.php | File | 3.2 KB | 0644 |
|
| Domain.php | File | 1.21 KB | 0644 |
|
| Enterprise.php | File | 290 B | 0644 |
|
| Insights.php | File | 281 B | 0644 |
|
| Isp.php | File | 2.6 KB | 0644 |
|