first
This commit is contained in:
69
wp-content/plugins/query-monitor/data/overview.php
Normal file
69
wp-content/plugins/query-monitor/data/overview.php
Normal file
@ -0,0 +1,69 @@
|
||||
<?php declare(strict_types = 1);
|
||||
/**
|
||||
* Overview data transfer object.
|
||||
*
|
||||
* @package query-monitor
|
||||
*/
|
||||
|
||||
class QM_Data_Overview extends QM_Data {
|
||||
/**
|
||||
* @var ?float
|
||||
*/
|
||||
public $time_taken;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $time_limit;
|
||||
|
||||
/**
|
||||
* @var float
|
||||
*/
|
||||
public $time_start;
|
||||
|
||||
/**
|
||||
* @var int|float
|
||||
*/
|
||||
public $time_usage;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $memory;
|
||||
|
||||
/**
|
||||
* @var float
|
||||
*/
|
||||
public $memory_limit;
|
||||
|
||||
/**
|
||||
* @var int|float
|
||||
*/
|
||||
public $memory_usage;
|
||||
|
||||
/**
|
||||
* @var ?array<string, mixed>
|
||||
*/
|
||||
public $current_user;
|
||||
|
||||
/**
|
||||
* @var ?array<string, mixed>
|
||||
*/
|
||||
public $switched_user;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $display_time_usage_warning;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $display_memory_usage_warning;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $is_admin;
|
||||
|
||||
}
|
Reference in New Issue
Block a user