Server IP : 10.106.20.8  /  Your IP : 216.73.216.148
Web Server : Apache
System : Linux webm008.cluster106.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : sixiemesrc ( 611999)
PHP Version : 8.0.30
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/sixiemesrc/new/wp-content/languages/../plugins/query-monitor/classes/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/sixiemesrc/new/wp-content/languages/../plugins/query-monitor/classes/Wrong.php
<?php declare(strict_types = 1);
/**
 * Class representing something that's kind of wrong.
 *
 * @package query-monitor
 */

/**
 * @template TArgs of array
 */
abstract class QM_Wrong implements JsonSerializable {
	private QM_Backtrace $backtrace;

	/**
	 * @phpstan-var TArgs $args
	 */
	protected array $args;

	/**
	 * @phpstan-param TArgs $args
	 */
	public function __construct( QM_Backtrace $backtrace, array $args = [] ) {
		$this->backtrace = $backtrace;
		$this->args = $args;
	}

	abstract public function get_message(): string;

	final public function get_trace(): QM_Backtrace {
		return $this->backtrace;
	}

	/**
	 * @return array<string, mixed>
	 */
	public function jsonSerialize(): array {
		return [];
	}
}