| 1 |
<?php |
| 2 |
|
| 3 |
namespace Yoast\WP\SEO\AI_HTTP_Request\Application; |
| 4 |
|
| 5 |
use Yoast\WP\SEO\AI_HTTP_Request\Domain\Response; |
| 6 |
|
| 7 |
interface Response_Parser_Interface { |
| 8 |
|
| 9 |
/** |
| 10 |
* Parses the response from the API. |
| 11 |
* |
| 12 |
* @param array<int|string|array<string>> $response The response from the API. |
| 13 |
* |
| 14 |
* @return Response The parsed response. |
| 15 |
*/ |
| 16 |
public function parse( $response ): Response; |
| 17 |
} |
| 18 |
|