$environment->detect()
Sanitizes the server info and detects all relevant parts. This can be called again at a later point to overwrite all the stored information and re-detect the environment if necessary.
Parameters
Name | Type | Default | Description |
---|---|---|---|
$options | array |null |
null |
|
$info | array |null |
null |
Optional override for $_SERVER |
Return type
array