[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | https://github.com/laminas/laminas-diactoros/blob/master/COPYRIGHT.md |
License: | https://github.com/laminas/laminas-diactoros/blob/master/LICENSE.md New BSD License |
File Size: | 100 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ServerRequestFactory:: (2 methods):
fromGlobals()
createServerRequest()
Class: ServerRequestFactory - X-Ref
Class for marshaling a request object from the current PHP environment.fromGlobals(array $server = null,array $query = null,array $body = null,array $cookies = null,array $files = null) X-Ref |
Create a request from the supplied superglobal values. If any argument is not supplied, the corresponding superglobal value will be used. The ServerRequest created is then passed to the fromServer() method in order to marshal the request URI and headers. param: array $server $_SERVER superglobal param: array $query $_GET superglobal param: array $body $_POST superglobal param: array $cookies $_COOKIE superglobal param: array $files $_FILES superglobal return: ServerRequest |
createServerRequest(string $method, $uri, array $serverParams = []) X-Ref |
{@inheritDoc} |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |