This will remove:
- leading '/'
- leading 'gollem'
- trailing '/'
The desired end result is the path including VFS backend.
public static stripAPIPath ( string $path ) : string | ||
$path | string | Path as presented to Gollem API. |
return | string | Cleaned path as described above. |