7 private const SCHEME_SEPARATOR =
'://';
8 private const PORT_SEPARATOR =
':';
38 $this->
scheme = $data[
'SERVER_SCHEME'];
39 $this->
host = $data[
'SERVER_HOST'];
40 $this->
port = $data[
'SERVER_PORT'];
41 $this->
basePath = $data[
'SERVER_PATH'];
42 $this->
userName = $data[
'SERVER_USERNAME'];
43 $this->
password = $data[
'SERVER_PASSWORD'];
86 . self::SCHEME_SEPARATOR
88 . self::PORT_SEPARATOR
111 return str_replace(
array_keys($map), $map, $uri);
static getEncodePath(string $path)
static mapUri(string $uri, array $map)