protected static function scriptName()
	{
		$request = System::getContainer()->get('request_stack')->getCurrentRequest();

		if ($request === null)
		{
			return @$_SERVER['ORIG_SCRIPT_NAME'] ?: $_SERVER['SCRIPT_NAME'];
		}

		return $request->getScriptName();
	}
protected static function scriptName()
	{
		$request = System::getContainer()->get('request_stack')->getCurrentRequest();

		if ($request === null)
		{
			return @$_SERVER['ORIG_SCRIPT_NAME'] ?: $_SERVER['SCRIPT_NAME'];
		}

		return $request->getScriptName();
	}
protected static function scriptName ( ) { $ request = System :: getContainer ( ) -> get ( 'request_stack' ) -> getCurrentRequest ( ) ; if ( $ request === null ) { return @ $ _SERVER [ 'ORIG_SCRIPT_NAME' ] ? : $ _SERVER [ 'SCRIPT_NAME' ] ; } return $ request -> getScriptName ( ) ; }
Return the relative path to the script (e.g. /website/index.php)

@return string The relative path to the script
Return the relative path to the script ( e . g . / website / index . php )