Lines Matching refs:getPath
66 return $rel->withPath(self::removeDotSegments($rel->getPath()));
71 $targetPath = self::removeDotSegments($rel->getPath());
75 if ($rel->getPath() === '') {
76 $targetPath = $base->getPath();
79 if ($rel->getPath()[0] === '/') {
80 $targetPath = $rel->getPath();
82 if ($targetAuthority != '' && $base->getPath() === '') {
83 $targetPath = '/'.$rel->getPath();
85 $lastSlashPos = strrpos($base->getPath(), '/');
87 $targetPath = $rel->getPath();
89 … $targetPath = substr($base->getPath(), 0, $lastSlashPos + 1).$rel->getPath();
152 if ($base->getPath() !== $target->getPath()) {
164 $segments = explode('/', $target->getPath());
176 $sourceSegments = explode('/', $base->getPath());
177 $targetSegments = explode('/', $target->getPath());
196 if ($base->getAuthority() != '' && $base->getPath() === '') {