computeRelativePath.php
Table of Contents
Functions
- computeRelativePath() : string
- Computes the relative path between two normalized relative paths.
Functions
computeRelativePath()
Computes the relative path between two normalized relative paths.
computeRelativePath(string $targetPath, string $basePath) : string
Parameters
- $targetPath : string
-
The target relative path.
- $basePath : string
-
The base relative path.
Tags
Return values
string —The relative path from base to target.