Lines Matching defs:uri
36 public static function createFromUri($uri): LocalPath
38 if (strpos($uri, LocalFileSystem::SCHEME) !== 0) {
39 throw new ExceptionBadArgument("$uri is not a local path uri");
41 return new LocalPath($uri);
85 * @param string $path - relative or absolute, or a locale file uri
98 LogUtility::errorIfDevOrTest("The path given as constructor should not be an uri or a path object");
100 LogUtility::internalError("The uri path could not be created", self::CANONICAL, $e);
430 $uri = LocalFileSystem::SCHEME . '://';
433 $uri = "$uri{$this->getHost()}";
439 $uri = $uri . "/" . $pathNormalized;
441 $uri = $uri . $pathNormalized;
444 return Url::createFromString($uri);
446 $message = "Local Uri Path has a bad syntax ($uri)";