CoreFiles by mySites.guru
RequestFactory.php21 lines, 405 bytes, from Joomla_6.1.2-Stable-Full_Package.zip
Raw History Compare with 6.1.1
md5
4db6e14de8598c027a033068609bbd99
sha1
31d183dd3292617543500a49f5f3b890adb9b03a
sha256
d422dc98e6b272761e7d1cd811a84a0645b3b01677726ece5713dc2a8c58f390
<?php

declare(strict_types=1);

namespace Laminas\Diactoros;

use Override;
use Psr\Http\Message\RequestFactoryInterface;
use Psr\Http\Message\RequestInterface;

class RequestFactory implements RequestFactoryInterface
{
    /**
     * {@inheritDoc}
     */
    #[Override]
    public function createRequest(string $method, $uri): RequestInterface
    {
        return new Request($uri, $method);
    }
}

The same content is in 32 releases, Joomla 6.1.0-alpha2 to 6.3.0-alpha1. See them all, or every version of this file.