Advertisement · 728 × 90
#
Hashtag
#WHATWGURL
Advertisement · 728 × 90
The League\Uri\Modifier class wraps any URI object and perform the correct modification on the wrapped URI. After any applied modification you can access the changed URI using the Modifier::unwrap() method.
The method will always return an URI of the same instance of the one you give to the Modifier::wrap method.
The Modifier class works for League Uri own URI class but also for PSR-7 UriInterface implementing classes and PHP's new native URI classes.

The League\Uri\Modifier class wraps any URI object and perform the correct modification on the wrapped URI. After any applied modification you can access the changed URI using the Modifier::unwrap() method. The method will always return an URI of the same instance of the one you give to the Modifier::wrap method. The Modifier class works for League Uri own URI class but also for PSR-7 UriInterface implementing classes and PHP's new native URI classes.

Here's a sneak peak at what you will be able to do with version 7.6 of the PHP league uri toolkit.

The toolkit adds support for the new PHP URI extension and gives you a nice API to work with URI in PHP.

learn more on uri.thephpleague.com

#PHP #URI #RFC3986 #WHATWGURL

2 0 0 1