Lines Matching refs:path
19 * Not all image depends on a path, that's why this is a trait to
25 private WikiPath $path;
29 * @param WikiPath $path
32 public function setSourcePath(WikiPath $path): IFetcher
34 $this->path = $path;
41 * @throws ExceptionBadArgument - if the wiki id (id/media) property was not found and the path was not set
49 if (!isset($this->path)) {
64 $path = WikiPath::toValidAbsolutePath($id);
70 $wikiPath = WikiPath::createMarkupPathFromPath($path, $rev);
72 $wikiPath = WikiPath::createFromPath($path, $drive, $rev);
85 return $this->path;
93 return FileSystems::getMime($this->path);
108 $url->addQueryParameterIfNotActualSameValue($wikiIdKey, $this->path->getWikiId());
109 if ($this->path->getDrive() !== WikiPath::MEDIA_DRIVE) {
110 $url->addQueryParameter(WikiPath::DRIVE_ATTRIBUTE, $this->path->getDrive());
113 $rev = $this->path->getRevision();