(string $rel)
| 379 | } |
| 380 | |
| 381 | private function buildUrlForRelative(string $rel): string |
| 382 | { |
| 383 | $rel = trim($rel, '/'); |
| 384 | if ($rel === '') { |
| 385 | return $this->baseUri; |
| 386 | } |
| 387 | return $this->baseUri . '/' . self::encodePath($rel); |
| 388 | } |
| 389 | |
| 390 | private function buildUrlForPath(string $path): string |
| 391 | { |
no test coverage detected