# defender-security/6.3.0/lib/packages/Psr/Http/Message/RequestFactoryInterface.php

Defender Security – Malware Scanner, Login Security &amp; Firewall, version 6.3.0. 19 lines.

- Page: https://pluginprobe.com/plugins/defender-security/6.3.0/code/lib/packages/Psr/Http/Message/RequestFactoryInterface.php
- Raw: https://pluginprobe.com/plugins/defender-security/6.3.0/raw/lib/packages/Psr/Http/Message/RequestFactoryInterface.php
- Modified: 2026-08-24T08:19:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/defender-security/6.3.0/code/lib/packages/Psr/Http/Message/RequestFactoryInterface.php#L10-L20`.

```php
<?php

namespace WP_DEFENDER_VENDOR\Psr\Http\Message;

interface RequestFactoryInterface
{
    /**
     * Create a new request.
     *
     * @param string $method The HTTP method associated with the request.
     * @param UriInterface|string $uri The URI associated with the request. If
     *     the value is a string, the factory MUST create a UriInterface
     *     instance based on it.
     *
     * @return RequestInterface
     */
    public function createRequest(string $method, $uri): RequestInterface;
}

```
