ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
IniHttpPathProvider.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\HTTP\Path;
22
25
32{
33 use StringToHttpPath;
34
35 public function __construct(
36 private IliasIni $ilias_ini
37 ) {
38 }
39
40 public function getHttpPath(): ?URI
41 {
42 return $this->toHttpPath($this->ilias_ini->getHttpPath());
43 }
44}
The scope of this class is split ilias-conform URI's into components.
Definition: URI.php:35
The http_path configured in the ilias.ini.
__construct(private IliasIni $ilias_ini)
Typed read access to ilias.ini.php.
Definition: IliasIni.php:35
Tells under which URL this ILIAS installation is reached, e.g.