Lines Matching defs:path
52 * @param Path $path
58 public static function createImageRasterFetchFromPath(Path $path): FetcherRaster
60 $path = WikiPath::createFromPathObject($path);
62 ->setSourcePath($path);
140 * @throws ExceptionBadSyntax - if the path is not valid image format
147 // The user may type a bad path
149 LogUtility::warning("The path ({$this->getSourcePath()}) does not exists");
161 $path = $this->getSourcePath()->toLocalPath();
162 $imageSize = getimagesize($path->toAbsolutePath()->toAbsoluteId());
284 * @throws ExceptionBadArgument - if the path is not an image
303 public function setSourcePath(WikiPath $path): FetcherRaster
305 $this->setOriginalPathTrait($path);