original_string: private function getBasePath()
  	{
  		$pathInfo = new Http\RequestFactory;
  		$basePath = rtrim($pathInfo->createHttpRequest()->url->basePath, '/');
  		return $basePath;
  	}
code: private function getBasePath()
  	{
  		$pathInfo = new Http\RequestFactory;
  		$basePath = rtrim($pathInfo->createHttpRequest()->url->basePath, '/');
  		return $basePath;
  	}
code_tokens: private function getBasePath ( ) { $ pathInfo = new Http \ RequestFactory ; $ basePath = rtrim ( $ pathInfo -> createHttpRequest ( ) -> url -> basePath , '/' ) ; return $ basePath ; }
docstring: Path to root.
  @return string
docstring_tokens: Path to root .