From 687141553960ac76dd6a4bafff921ace9a75d221 Mon Sep 17 00:00:00 2001 From: ignace nyamagana butera Date: Tue, 24 Dec 2024 18:58:20 +0100 Subject: [PATCH] Adding more URI string representation (#150) --- Contracts/UriInterface.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Contracts/UriInterface.php b/Contracts/UriInterface.php index 3b36ba1..0cfafe7 100644 --- a/Contracts/UriInterface.php +++ b/Contracts/UriInterface.php @@ -24,6 +24,9 @@ * * @method string|null getUsername() returns the user component of the URI. * @method string|null getPassword() returns the scheme-specific information about how to gain authorization to access the resource. + * @method string|null toUnixPath() returns the Unix filesystem path. The method returns null for any other scheme + * @method string|null toWindowsPath() returns the Windows filesystem path. The method returns null for any other scheme + * @method string|null toRfc8089() returns a string representation of a File URI according to RFC8089. The method returns null for any other scheme * @method string toNormalizedString() returns the normalized string representation of the URI * @method array toComponents() returns an associative array containing all the URI components. * @method self normalize() returns a new URI instance with normalized components