# tablepress/2.2.4/libraries/vendor/Psr/Http/Message/ServerRequestFactoryInterface.php

TablePress – Tables in WordPress made easy, version 2.2.4. 25 lines.

- Page: https://pluginprobe.com/plugins/tablepress/2.2.4/code/libraries/vendor/Psr/Http/Message/ServerRequestFactoryInterface.php
- Raw: https://pluginprobe.com/plugins/tablepress/2.2.4/raw/libraries/vendor/Psr/Http/Message/ServerRequestFactoryInterface.php
- Modified: 2022-12-19T11:32:06+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/tablepress/2.2.4/code/libraries/vendor/Psr/Http/Message/ServerRequestFactoryInterface.php#L10-L20`.

```php
<?php

namespace TablePress\Psr\Http\Message;

interface ServerRequestFactoryInterface
{
	/**
	 * Create a new server request.
	 *
	 * Note that server-params are taken precisely as given - no parsing/processing
	 * of the given values is performed, and, in particular, no attempt is made to
	 * determine the HTTP method or URI, which must be provided explicitly.
	 *
	 * @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.
	 * @param array $serverParams Array of SAPI parameters with which to seed
	 *     the generated request instance.
	 *
	 * @return ServerRequestInterface
	 */
	public function createServerRequest(string $method, $uri, array $serverParams = []): ServerRequestInterface;
}

```
