CoreFiles by mySites.guru
ResponseFactoryInterface.php18 lines, 546 bytes, from Joomla_5.2.2-Stable-Full_Package.zip
Raw History Compare with 5.2.1
md5
2e68f87cd5b9afe0508f202e6c32e3e6
sha1
699cd0c543b21a336a37813738e59d4a2491ac67
sha256
fb58f39db8e472bed4109f6392443a10785305ccc0c920d11f98208f91214e02
<?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;
}

The same content is in 292 releases, Joomla 4.0.0-alpha10 to 6.3.0-alpha1. See them all, or every version of this file.