public function Request::getScriptName in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Request.php \Symfony\Component\HttpFoundation\Request::getScriptName()
Returns current script name.
Return value
string
File
- vendor/
symfony/ http-foundation/ Request.php, line 864
Class
- Request
- Request represents an HTTP request.
Namespace
Symfony\Component\HttpFoundationCode
public function getScriptName() {
return $this->server
->get('SCRIPT_NAME', $this->server
->get('ORIG_SCRIPT_NAME', ''));
}