You are here

private function Crawler::createSubCrawler in Zircon Profile 8

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

Creates a crawler for some subnodes.

Parameters

\DOMElement|\DOMElement[]|\DOMNodeList|null $nodes:

Return value

static

11 calls to Crawler::createSubCrawler()
Crawler::children in vendor/symfony/dom-crawler/Crawler.php
Returns the children nodes of the current selection.
Crawler::each in vendor/symfony/dom-crawler/Crawler.php
Calls an anonymous function on each node of the list.
Crawler::eq in vendor/symfony/dom-crawler/Crawler.php
Returns a node given its position in the node list.
Crawler::filterRelativeXPath in vendor/symfony/dom-crawler/Crawler.php
Filters the list of nodes with an XPath expression.
Crawler::filterXPath in vendor/symfony/dom-crawler/Crawler.php
Filters the list of nodes with an XPath expression.

... See full list

File

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

Class

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

Namespace

Symfony\Component\DomCrawler

Code

private function createSubCrawler($nodes) {
  $crawler = new static($nodes, $this->uri, $this->baseHref);
  return $crawler;
}