Files
wp-multisite-waas/inc/development/query-monitor/collectors/class-collector-overview.php
2025-02-08 13:57:32 -07:00

65 lines
928 B
PHP

<?php
/**
* WP Multisite WaaS overview collector.
*
* @package query-monitor
* @since 2.0.11
*/
namespace WP_Ultimo\Development\Query_Monitor\Collectors;
// Exit if accessed directly
defined('ABSPATH') || exit;
/**
* Every QM Panel needs a collector.
*
* @since 2.0.11
*/
class Collector_Overview extends \QM_Collector {
/**
* Sets the id of the collector.
*
* @since 2.0.11
* @var string
*/
public $id = 'wp-ultimo';
/**
* Set-up routines.
*
* @since 2.0.11
* @return void
*/
public function set_up(): void {
parent::set_up();
}
/**
* Tear down routines.
*
* @since 2.0.11
* @return void
*/
public function tear_down(): void {
parent::tear_down();
}
/**
* Process the collection.
*
* Here, we just need to add items to the
* data property array.
*
* @since 2.0.11
* @return void
*/
public function process(): void {
$this->data = $_REQUEST;
}
}