ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
wac.php File Reference

Go to the source code of this file.

Variables

 $container = new \ILIAS\DI\Container()
 
 $container ['http.request_factory']
 
 $container ['http.response_factory']
 
 $container ['http.cookie_jar_factory']
 
 $container ['http.response_sender_strategy']
 
 $container ['http']
 
 $GLOBALS ["DIC"] = $container
 
 $globalHttpState = $container['http']
 

Variable Documentation

◆ $container [1/6]

◆ $container [2/6]

$container[ 'http.request_factory']
Initial value:
= function ($c) {
return new \ILIAS\HTTP\Request\RequestFactoryImpl();
}

Definition at line 16 of file wac.php.

◆ $container [3/6]

$container[ 'http.response_factory']
Initial value:
= function ($c) {
return new \ILIAS\HTTP\Response\ResponseFactoryImpl();
}

Definition at line 20 of file wac.php.

◆ $container [4/6]

$container[ 'http.cookie_jar_factory']
Initial value:
= function ($c) {
return new \ILIAS\HTTP\Cookies\CookieJarFactoryImpl();
}

Definition at line 24 of file wac.php.

◆ $container [5/6]

$container[ 'http.response_sender_strategy']
Initial value:
= function ($c) {
return new \ILIAS\HTTP\Response\Sender\DefaultResponseSenderStrategy();
}

Definition at line 28 of file wac.php.

◆ $container [6/6]

$container[ 'http']
Initial value:
= function ($c) {
return new \ILIAS\DI\HTTPServices(
$c['http.response_sender_strategy'],
$c['http.cookie_jar_factory'],
$c['http.request_factory'],
$c['http.response_factory']
);
}

Definition at line 32 of file wac.php.

◆ $globalHttpState

ILIAS HTTP GlobalHttpState $globalHttpState = $container['http']

Definition at line 46 of file wac.php.

◆ $GLOBALS

$GLOBALS["DIC"] = $container

Definition at line 41 of file wac.php.