• File: ResponseFactoryInterface.php
  • Full Path: /home/docteuh/www/serverhttpson/psr/http-factory/src/ResponseFactoryInterface.php
  • Date Modified: 06/23/2026 4:20 PM
  • File size: 597 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace YoastSEO_Vendor\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 = '') : \YoastSEO_Vendor\Psr\Http\Message\ResponseInterface;
}