wp_back/wp-content/plugins/query-monitor/classes/DataCollector.php

26 lines
396 B
PHP
Raw Permalink Normal View History

2024-05-20 15:37:46 +03:00
<?php declare(strict_types = 1);
/**
* Abstract data collector for structured data.
*
* @package query-monitor
*/
/**
* @phpstan-template T of QM_Data
*/
abstract class QM_DataCollector extends QM_Collector {
/**
* @var QM_Data
* @phpstan-var T
*/
protected $data;
/**
* @return QM_Data
* @phpstan-return T
*/
final public function get_data() {
return $this->data;
}
}