Zend\Http\PhpEnvironment\Request::detectBaseUrl
Auto-detect the base path from the request environment
Uses a variety of criteria in order to detect the base URL of the request (i.e., anything additional to the document root).
Signature
protected function detectBaseUrl()
Returns
- string