• File: response-parser-interface.php
  • Full Path: /home/builxejc/public_html/wp-content/plugins/wordpress-seo/src/ai-http-request/application/response-parser-interface.php
  • Date Modified: 07/15/2025 5:36 PM
  • File size: 377 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace Yoast\WP\SEO\AI_HTTP_Request\Application;

use Yoast\WP\SEO\AI_HTTP_Request\Domain\Response;

interface Response_Parser_Interface {

	/**
	 * Parses the response from the API.
	 *
	 * @param array<int|string|array<string>> $response The response from the API.
	 *
	 * @return Response The parsed response.
	 */
	public function parse( $response ): Response;
}