HEX
Server: Apache/2.4.65 (Debian)
System: Linux 88f31f35b0b8 6.1.0-38-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.147-1 (2025-08-02) x86_64
User: www-data (33)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/query-monitor/data/url.php
<?php declare(strict_types = 1);
/**
 * Parsed URL data object.
 *
 * @package query-monitor
 */

class QM_Data_URL implements JsonSerializable {
	/**
	 * @var string
	 */
	public $origin;

	/**
	 * @var string
	 */
	public $scheme;

	/**
	 * @var string
	 */
	public $hostname;

	/**
	 * @var string
	 */
	public $host;

	/**
	 * @var bool
	 */
	public $insecure;

	/**
	 * @var bool
	 */
	public $local;

	/**
	 * @var string
	 */
	public $absolute;

	/**
	 * @return array{host: string, local: bool, absolute: string}
	 */
	public function jsonSerialize(): array {
		return array(
			'host' => $this->host,
			'local' => $this->local,
			'absolute' => $this->absolute,
		);
	}
}