Lines Matching refs:getPath
73 return $rel->withPath(self::removeDotSegments($rel->getPath()));
78 $targetPath = self::removeDotSegments($rel->getPath());
82 if ($rel->getPath() === '') {
83 $targetPath = $base->getPath();
86 if ($rel->getPath()[0] === '/') {
87 $targetPath = $rel->getPath();
89 if ($targetAuthority != '' && $base->getPath() === '') {
90 $targetPath = '/' . $rel->getPath();
92 $lastSlashPos = strrpos($base->getPath(), '/');
94 $targetPath = $rel->getPath();
96 … $targetPath = substr($base->getPath(), 0, $lastSlashPos + 1) . $rel->getPath();
164 if ($base->getPath() !== $target->getPath()) {
176 $segments = explode('/', $target->getPath());
187 $sourceSegments = explode('/', $base->getPath());
188 $targetSegments = explode('/', $target->getPath());
207 if ($base->getAuthority() != '' && $base->getPath() === '') {