Yoast\WP\SEO\Task_List\Domain\Components
Task_Analyzer_Interface{}
Represents an analyzer component for a task.
Хуков нет.
Использование
$Task_Analyzer_Interface = new Task_Analyzer_Interface(); // use class methods
Методы
- public get_type()
- public to_array()
Код Task_Analyzer_Interface{} Task Analyzer Interface{} Yoast 28.3
interface Task_Analyzer_Interface {
/**
* Returns the type of the analyzer.
*
* @return string
*/
public function get_type(): string;
/**
* Returns an array representation of the analyzer data.
*
* @return array<string, string> Returns in an array format.
*/
public function to_array(): array;
}