public function getRootUrl()
	{
		$request = $this->requests->getCurrentRequest();
		$host = $request->getHttpHost();
		$base = $request->getBaseUrl();

		return rtrim("//$host/$base", '/');
	}
public function getRootUrl()
	{
		$request = $this->requests->getCurrentRequest();
		$host = $request->getHttpHost();
		$base = $request->getBaseUrl();

		return rtrim("//$host/$base", '/');
	}
public function getRootUrl ( ) { $ request = $ this -> requests -> getCurrentRequest ( ) ; $ host = $ request -> getHttpHost ( ) ; $ base = $ request -> getBaseUrl ( ) ; return rtrim ( "//$host/$base" , '/' ) ; }
Get the root URL. Used to generate URLs to assets.

@return string
Get the root URL . Used to generate URLs to assets .