ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
RequestFactoryImpl.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ILIAS\HTTP\Request
;
4
5
use
GuzzleHttp\Psr7\ServerRequest
;
6
use
Psr\Http\Message\ServerRequestInterface
;
7
8
/******************************************************************************
9
*
10
* This file is part of ILIAS, a powerful learning management system.
11
*
12
* ILIAS is licensed with the GPL-3.0, you should have received a copy
13
* of said license along with the source code.
14
*
15
* If this is not the case or you just want to try ILIAS, you'll find
16
* us at:
17
* https://www.ilias.de
18
* https://github.com/ILIAS-eLearning
19
*
20
*****************************************************************************/
34
class
RequestFactoryImpl
implements
RequestFactory
35
{
39
public
function
create
(): ServerRequestInterface
40
{
41
return
ServerRequest::fromGlobals();
42
}
43
}
ILIAS\HTTP\Request\RequestFactory
Definition:
RequestFactory.php:30
ILIAS\HTTP\Request
Definition:
RequestFactory.php:3
ILIAS\HTTP\Request\RequestFactoryImpl
Definition:
RequestFactoryImpl.php:34
ServerRequestInterface
ILIAS\HTTP\Request\RequestFactoryImpl\create
create()
Creates a new ServerRequest object with the help of the underlying library.
Definition:
RequestFactoryImpl.php:39
ServerRequest
src
HTTP
Request
RequestFactoryImpl.php
Generated on Wed Sep 3 2025 22:02:55 for ILIAS by
1.8.13 (using
Doxyfile
)