CoreFiles by mySites.guru
ResponseFactoryInterface.php18 lines, 577 bytes, from wordpress-7.2-beta5.zip
Raw History Compare with 7.2-beta4
md5
b59b2ef1d354e1c98a4549a3e26a50d7
sha1
643fcd6e573fbf3b9022a6bbf50c041062984937
sha256
07047ef28920969a5a9df6f5ccdd28ac3437e2160065997f258495da92bc75fd
<?php

namespace WordPress\AiClientDependencies\Psr\Http\Message;

interface ResponseFactoryInterface
{
    /**
     * Create a new response.
     *
     * @param int $code HTTP status code; defaults to 200
     * @param string $reasonPhrase Reason phrase to associate with status code
     *     in generated response; if none is provided implementations MAY use
     *     the defaults as suggested in the HTTP specification.
     *
     * @return ResponseInterface
     */
    public function createResponse(int $code = 200, string $reasonPhrase = ''): ResponseInterface;
}

The same content is in 44 releases, WordPress 7.0-beta1 to 7.2-RC2. See them all, or every version of this file.