Home
last modified time | relevance | path

Searched refs:streamUrl (Results 1 – 1 of 1) sorted by relevance

/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/
H A DUtils.php45 * @param string $streamUrl stream URL or path without protocol
47 public static function canonicalizePath(string $streamUrl): string argument
50 if ('file://' === substr($streamUrl, 0, 7)) {
51 $streamUrl = substr($streamUrl, 7);
56 if (false !== strpos($streamUrl, '://')) {
57 return $streamUrl;
61 …if (substr($streamUrl, 0, 1) === '/' || substr($streamUrl, 1, 1) === ':' || substr($streamUrl, 0, …
62 return $prefix.$streamUrl;
65 $streamUrl = getcwd() . '/' . $streamUrl;
67 return $prefix.$streamUrl;