ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\HTTP\Wrapper\WrapperFactory Class Reference

Class WrapperFactory. More...

+ Collaboration diagram for ILIAS\HTTP\Wrapper\WrapperFactory:

Public Member Functions

 __construct (private RequestInterface $request)
 WrapperFactory constructor. More...
 
 query ()
 
 post ()
 
 cookie ()
 

Detailed Description

Class WrapperFactory.

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch

Definition at line 29 of file WrapperFactory.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\HTTP\Wrapper\WrapperFactory::__construct ( private RequestInterface  $request)

WrapperFactory constructor.

Definition at line 34 of file WrapperFactory.php.

35 {
36 }

Member Function Documentation

◆ cookie()

ILIAS\HTTP\Wrapper\WrapperFactory::cookie ( )

Definition at line 48 of file WrapperFactory.php.

48 : ArrayBasedRequestWrapper
49 {
50 return new ArrayBasedRequestWrapper($this->request->getCookieParams());
51 }

◆ post()

ILIAS\HTTP\Wrapper\WrapperFactory::post ( )

Definition at line 43 of file WrapperFactory.php.

43 : ArrayBasedRequestWrapper
44 {
45 return new ArrayBasedRequestWrapper($this->request->getParsedBody());
46 }

◆ query()

ILIAS\HTTP\Wrapper\WrapperFactory::query ( )

Definition at line 38 of file WrapperFactory.php.

38 : ArrayBasedRequestWrapper
39 {
40 return new ArrayBasedRequestWrapper($this->request->getQueryParams());
41 }

The documentation for this class was generated from the following file: