Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Crawler.php

function Crawler::clear

Removes all the nodes.

File

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

Class

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

Namespace

Symfony\Component\DomCrawler

Code

public function clear() : void {
    $this->nodes = [];
    $this->document = null;
    $this->cachedNamespaces = new \ArrayObject();
}
RSS feed
Powered by Drupal