function UriResolver::cleanupUri
Removes the query string and the anchor from the given uri.
1 call to UriResolver::cleanupUri()
- UriResolver::resolve in vendor/
symfony/ dom-crawler/ UriResolver.php - Resolves a URI according to a base URI.
File
-
vendor/
symfony/ dom-crawler/ UriResolver.php, line 108
Class
- UriResolver
- The UriResolver class takes an URI (relative, absolute, fragment, etc.) and turns it into an absolute URI against another given base URI.
Namespace
Symfony\Component\DomCrawlerCode
private static function cleanupUri(string $uri) : string {
return self::cleanupQuery(self::cleanupAnchor($uri));
}