| 1 |
<?php |
| 2 |
|
| 3 |
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure. |
| 4 |
namespace Yoast\WP\SEO\Dashboard\Domain\Data_Provider; |
| 5 |
|
| 6 |
/** |
| 7 |
* Interface describing the way to get data for a specific data provider. |
| 8 |
*/ |
| 9 |
interface Dashboard_Repository_Interface { |
| 10 |
|
| 11 |
/** |
| 12 |
* Method to get dashboard related data from a provider. |
| 13 |
* |
| 14 |
* @param Parameters $parameters The parameter to get the dashboard data for. |
| 15 |
* |
| 16 |
* @return Data_Container |
| 17 |
*/ |
| 18 |
public function get_data( Parameters $parameters ): Data_Container; |
| 19 |
} |
| 20 |
|