Property | Type | Description | |
---|---|---|---|
$cookie | |||
$get | |||
$post | |||
$server |
Method | Description | |
---|---|---|
__construct ( $options = [] ) | ||
cookie ( $key = null, $default = null ) | ||
get ( $key = null, $default = null ) | ||
getDocRoot ( ) : string | ||
getRequestUri ( ) : string | ||
normalizePath ( string $path ) : string | turn windows-style slashes into unix-style, remove trailing slash and lowercase drive letter | |
post ( $key = null, $default = null ) | ||
server ( $key = null ) |
Method | Description | |
---|---|---|
computeDocRoot ( array $server ) : string | Compute $_SERVER['DOCUMENT_ROOT'] for IIS using SCRIPT_FILENAME and SCRIPT_NAME. |
protected computeDocRoot ( array $server ) : string | ||
$server | array | |
return | string |
public normalizePath ( string $path ) : string | ||
$path | string | absolute path |
return | string |