You are here

private function Link::cleanupUri in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dom-crawler/Link.php \Symfony\Component\DomCrawler\Link::cleanupUri()

Removes the query string and the anchor from the given uri.

Parameters

string $uri The uri to clean:

Return value

string

1 call to Link::cleanupUri()
Link::getUri in vendor/symfony/dom-crawler/Link.php
Gets the URI associated with this link.

File

vendor/symfony/dom-crawler/Link.php, line 188

Class

Link
Link represents an HTML link (an HTML a, area or link tag).

Namespace

Symfony\Component\DomCrawler

Code

private function cleanupUri($uri) {
  return $this
    ->cleanupQuery($this
    ->cleanupAnchor($uri));
}