Skip to content

Commit

Permalink
Deprecating getComponents and adding BaseUri::isOpaque
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamsprod committed Jul 11, 2024
1 parent 8c61389 commit 13a2cf6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ All Notable changes to `League\Uri\Interfaces` will be documented in this file

### Added

- `UriInterface::toComponents` returns an associative array containing all URI components values.
- `UriInterface::getUsername` returns the encoded user component of the URI.
- `UriInterface::getPassword` returns the encoded scheme-specific information about how to gain authorization to access the resource.
- `Uri\IPv6\Converter` allow expanding and compressing IPv6.
Expand All @@ -17,7 +18,7 @@ All Notable changes to `League\Uri\Interfaces` will be documented in this file

### Deprecated

- None
- `UriInterface::getComponents` use `UriInterface::toComponents`

### Removed

Expand Down Expand Up @@ -115,7 +116,7 @@ All Notable changes to `League\Uri\Interfaces` will be documented in this file
- New method to `UserInfoInterface::withUser`
- New method to `UserInfoInterface::withPass`
- New method to `UriInterface::toString`
- New method to `UriInterface::toComponents`
- New method to `UriInterface::getComponents`
- `League\Uri\IPv4` tools
- `League\Uri\Idna` tools
- `League\Uri\UriString` parser
Expand Down
1 change: 1 addition & 0 deletions Contracts/UriInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
*
* @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 array toComponents() returns an associative array containing all the URI components.
*/
interface UriInterface extends JsonSerializable, Stringable
{
Expand Down

0 comments on commit 13a2cf6

Please sign in to comment.