• File: RequestFactoryInterface.php
  • Full Path: /home/bazilika/public_html/wp-includes/php-ai-client/src/Files/Enums/RequestFactoryInterface.php
  • Date Modified: 05/22/2026 3:17 AM
  • File size: 530 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace WordPress\AiClientDependencies\Psr\Http\Message;

interface RequestFactoryInterface
{
    /**
     * Create a new request.
     *
     * @param string $method The HTTP method associated with the request.
     * @param UriInterface|string $uri The URI associated with the request. If
     *     the value is a string, the factory MUST create a UriInterface
     *     instance based on it.
     *
     * @return RequestInterface
     */
    public function createRequest(string $method, $uri): RequestInterface;
}