first
This commit is contained in:
37
wp-content/plugins/query-monitor/data/hooks.php
Normal file
37
wp-content/plugins/query-monitor/data/hooks.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php declare(strict_types = 1);
|
||||
/**
|
||||
* Hooks data transfer object.
|
||||
*
|
||||
* @package query-monitor
|
||||
*/
|
||||
|
||||
class QM_Data_Hooks extends QM_Data {
|
||||
/**
|
||||
* @var array<int, array<string, mixed>>
|
||||
* @phpstan-var list<array{
|
||||
* name: string,
|
||||
* actions: list<array{
|
||||
* priority: int,
|
||||
* callback: array<string, mixed>,
|
||||
* }>,
|
||||
* parts: list<string>,
|
||||
* components: array<string, string>,
|
||||
* }>
|
||||
*/
|
||||
public $hooks;
|
||||
|
||||
/**
|
||||
* @var array<int, string>
|
||||
*/
|
||||
public $parts;
|
||||
|
||||
/**
|
||||
* @var array<string, string>
|
||||
*/
|
||||
public $components;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $all_hooks;
|
||||
}
|
Reference in New Issue
Block a user