| 1 |
<?php |
| 2 |
|
| 3 |
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong |
| 4 |
namespace Yoast\WP\SEO\Editors\Domain\Seo; |
| 5 |
|
| 6 |
/** |
| 7 |
* This class describes the SEO data interface. |
| 8 |
*/ |
| 9 |
interface Seo_Plugin_Data_Interface { |
| 10 |
|
| 11 |
/** |
| 12 |
* Returns the data as an array format. |
| 13 |
* |
| 14 |
* @return array<string> |
| 15 |
*/ |
| 16 |
public function to_array(): array; |
| 17 |
|
| 18 |
/** |
| 19 |
* Returns the data as an array format meant for legacy use. |
| 20 |
* |
| 21 |
* @return array<string> |
| 22 |
*/ |
| 23 |
public function to_legacy_array(): array; |
| 24 |
} |
| 25 |
|