Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/uploads/../../../public_html/vendor/psr/http-factory/src
الملفات الموجودة في هذا الـ Path:
.
..
RequestFactoryInterface.php
ResponseFactoryInterface.php
ServerRequestFactoryInterface.php
StreamFactoryInterface.php
UploadedFileFactoryInterface.php
UriFactoryInterface.php

مشاهدة ملف: ResponseFactoryInterface.php

<?php

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