ILIAS  release_8 Revision v8.24
RequestFactoryImpl.php
Go to the documentation of this file.
1<?php
2
3namespace ILIAS\HTTP\Request;
4
5use GuzzleHttp\Psr7\ServerRequest;
6use 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 *****************************************************************************/
35{
39 public function create(): ServerRequestInterface
40 {
41 return ServerRequest::fromGlobals();
42 }
43}
create()
Creates a new ServerRequest object with the help of the underlying library.