CoreFiles by mySites.guru
RequestFactory.php19 lines, 375 bytes, from Joomla_5.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 5.0.0-alpha1
md5
b598ba10607ac6cc65dcdcf6d5d20ada
sha1
73a5f412f99629daae939d1a154540ce84b86a41
sha256
80a3901becfdc73d4178c07add66744348308e01305c8b3e3d604be0fcd62680
<?php

declare(strict_types=1);

namespace Laminas\Diactoros;

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

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

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