• File: response-parser-interface.php
  • Full Path: /home/docteuh/www/plugins/wordpress-seo/src/ai/http-request/application/response-parser-interface.php
  • Date Modified: 06/23/2026 4:19 PM
  • File size: 476 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.

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;
}