wp_back/wp-content/plugins/query-monitor/data/logger.php

31 lines
540 B
PHP
Raw Normal View History

2024-05-20 15:37:46 +03:00
<?php declare(strict_types = 1);
/**
* Logger data transfer object.
*
* @package query-monitor
*/
class QM_Data_Logger extends QM_Data {
/**
* @var array<string, int>
* @phpstan-var array<QM_Collector_Logger::*, int>
*/
public $counts;
/**
* @var array<int, array<string, mixed>>
* @phpstan-var list<array{
* message: string,
* filtered_trace: mixed[],
* component: QM_Component,
* level: QM_Collector_Logger::*,
* }>
*/
public $logs;
/**
* @var array<string, string>
*/
public $components;
}