Type | Parameter | Description | Default Value |
---|---|---|---|
string | $root | Document root | none |
Amp\File\Driver | $filesystem | Optional filesystem driver | null |
Respond to HTTP requests for filesystem resources
Type | Parameter | Description | Default Value |
---|---|---|---|
Aerys\Request | $request | No documentation. | none |
Aerys\Response | $response | No documentation. | none |
Normalize paths with relative dot segments in their path
This functionality is critical to avoid malicious URIs attempting to traverse the document root above the allowed base path.
Type | Parameter | Description | Default Value |
---|---|---|---|
string | $path | No documentation. | none |
Set a document root option
Type | Parameter | Description | Default Value |
---|---|---|---|
string | $option | The option key (case-insensitve) | none |
mixed | $value | The option value to assign | none |
Receive notifications from the server when it starts/stops
Type | Parameter | Description | Default Value |
---|---|---|---|
Aerys\Server | $server | No documentation. | none |