Lines Matching defs:path
80 public static function registerFirstImage(Doku_Renderer_metadata $renderer, Path $path)
86 if (!($path instanceof WikiPath)) {
89 if (!FileSystems::exists($path)) {
95 $wikiId = $path->getWikiId();
102 $mime = $path->getMime();
104 LogUtility::internalError("The mime for the path ($path) was not found", self::CANONICAL, $e);
152 $path = $markupUrl->getPath();
154 LogUtility::internalError("The path of an internal media should be known. We were unable to update the statistics.", self::TAG);
157 if (!FileSystems::exists($path)) {
349 $path = $mediaMarkup->getMarkupRef()->getPath();
351 LogUtility::internalError("We cannot get the path of the image. Error: {$e->getMessage()}. The image was not registered in the metadata", self::TAG);
354 self::registerFirstImage($renderer, $path);