芝麻web文件管理V1.00
编辑当前文件:/home4/randall/public_html/sl/wp-content/plugins/woocommerce/vendor/opis/json-schema/src/Uri.php
__toString(); } /** * @param string $uri * @param bool $ensure_fragment * @return static|null */ public static function parse(string $uri, bool $ensure_fragment = false): ?self { if ($ensure_fragment && strpos($uri, '#') === false) { $uri .= '#'; } return self::create($uri); } /** * @param string|array|static $uri * @param string|array|static $base * @param bool $ensure_fragment * @return static|null */ public static function merge($uri, $base, bool $ensure_fragment = false): ?self { $uri = self::resolveComponents($uri); if ($uri === null) { return null; } if ($ensure_fragment && !isset($uri['fragment'])) { $uri['fragment'] = ''; } $base = self::resolveComponents($base); if (!$base) { return new self($uri); } return new self(self::mergeComponents($uri, $base)); } /** * @param bool $value */ public static function useNormalizedComponents(bool $value): void { self::$useNormalizedComponents = $value; } }