| 1 |
<?php |
| 2 |
|
| 3 |
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure. |
| 4 |
namespace Yoast\WP\SEO\Task_List\Domain\Components; |
| 5 |
|
| 6 |
/** |
| 7 |
* Represents an analyzer component for a task. |
| 8 |
*/ |
| 9 |
interface Task_Analyzer_Interface { |
| 10 |
|
| 11 |
/** |
| 12 |
* Returns the type of the analyzer. |
| 13 |
* |
| 14 |
* @return string |
| 15 |
*/ |
| 16 |
public function get_type(): string; |
| 17 |
|
| 18 |
/** |
| 19 |
* Returns an array representation of the analyzer data. |
| 20 |
* |
| 21 |
* @return array<string, string> Returns in an array format. |
| 22 |
*/ |
| 23 |
public function to_array(): array; |
| 24 |
} |
| 25 |
|