__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ 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 GeoIp2\Record;
/**
* Contains data for the represented country associated with an IP address.
*
* This class contains the country-level data associated with an IP address
* for the IP's represented country. The represented country is the country
* represented by something like a military base.
*/
class RepresentedCountry extends Country
{
/**
* @var string|null A string indicating the type of entity that is
* representing the country. Currently we only return <code>military</code>
* but this could expand to include other types in the future.
*/
public readonly ?string $type;
/**
* @ignore
*/
public function __construct(array $record, array $locales = ['en'])
{
parent::__construct($record, $locales);
$this->type = $record['type'] ?? null;
}
public function jsonSerialize(): array
{
$js = parent::jsonSerialize();
if ($this->type !== null) {
$js['type'] = $this->type;
}
return $js;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| AbstractNamedRecord.php | File | 1.16 KB | 0777 |
|
| AbstractPlaceRecord.php | File | 1.2 KB | 0777 |
|
| City.php | File | 265 B | 0777 |
|
| Continent.php | File | 1.26 KB | 0777 |
|
| Country.php | File | 1.4 KB | 0777 |
|
| Location.php | File | 3.69 KB | 0777 |
|
| MaxMind.php | File | 745 B | 0777 |
|
| Postal.php | File | 1.42 KB | 0777 |
|
| RepresentedCountry.php | File | 1.08 KB | 0777 |
|
| Subdivision.php | File | 1.06 KB | 0777 |
|
| Traits.php | File | 11.69 KB | 0777 |
|