◆ init()
| static ILIAS\StaticURL\Init::init |
( |
Container |
$c | ) |
|
|
static |
Definition at line 36 of file Init.php.
References $c, $handler, and ilRobotSettings\getInstance().
Referenced by ilInitialisation\initHTTPServices().
38 $c[
'static_url.request_builder'] =
static function (Container
$c): RequestBuilder {
39 return new BundledRequestBuilder();
42 $c[
'static_url.context'] =
static function (Container
$c): Context {
43 return new Context(
$c);
46 $c[
'static_url.handler'] =
static function (Container
$c): HandlerService {
47 $handlers = (require ArtifactObjective::PATH() ?? []);
52 return new HandlerService(
53 $c[
'static_url.request_builder'],
54 $c[
'static_url.context'],
59 $c[
'static_url.uri_builder'] =
static function (Container
$c): URIBuilder {
60 return new StandardURIBuilder(
68 $c[
'static_url.handler'],
69 $c[
'static_url.uri_builder'],
70 $c[
'static_url.context']
Interface Observer Contains several chained tasks and infos about them.
static getInstance()
get singleton instance
The documentation for this class was generated from the following file: