ok

Mini Shell

Direktori : /home2/selectio/www/bharath/a1tex.in/vendor/laminas/laminas-diactoros/src/
Upload File :
Current File : /home2/selectio/www/bharath/a1tex.in/vendor/laminas/laminas-diactoros/src/ResponseFactory.php

<?php

declare(strict_types=1);

namespace Laminas\Diactoros;

use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\ResponseInterface;

class ResponseFactory implements ResponseFactoryInterface
{
    /**
     * {@inheritDoc}
     */
    public function createResponse(int $code = 200, string $reasonPhrase = ''): ResponseInterface
    {
        return (new Response())
            ->withStatus($code, $reasonPhrase);
    }
}

Zerion Mini Shell 1.0