resolvePath() public static method

Resolves relative paths.
public static resolvePath ( string $urlPath, string $basePath ) : array
$urlPath string URLs to resolve.
$basePath string URL of the page from which URLs were extracted.
return array Resolved path.
 /**
  *
  */
 public function testResolvePath()
 {
     $this->assertEquals('/a/c', Url::resolvePath('c', '/a/b'));
     $this->assertEquals('/a/d/f', Url::resolvePath('../d/./e/../f', '/a/b/c'));
 }