You are here

public function Crawler::clear in Zircon Profile 8

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

Removes all the nodes.

File

vendor/symfony/dom-crawler/Crawler.php, line 61

Class

Crawler
Crawler eases navigation of a list of \DOMElement objects.

Namespace

Symfony\Component\DomCrawler

Code

public function clear() {
  $this
    ->removeAll($this);
}