Lines Matching refs:nodes
54 $nodes = [$input];
56 $nodes = $this->nodesFromHtml($input);
58 $nodes = $input;
63 return $nodes;
73 $nodes = $this->inputPrepareAsTraversable($input);
77 foreach ($nodes as $node) {
98 $nodes = $this->inputAsNodeList($input);
100 return $nodes->findXPath('self::*')->first();
112 $nodes = $doc->html($html)->find('body')->contents();
114 return $nodes;
150 $nodes = $this->find($selector, 'self::');
152 $nodes = $this->collection();
157 $nodes->each(function($node) use($nodeList) {
163 $nodes->fromArray([]);
308 $nodes = $this->inputAsNodeList($selector);
310 $nodes = $this->document()->find($selector);
313 $nodes->prependWith($this);
325 $nodes = $this->inputAsNodeList($selector);
327 $nodes = $this->document()->find($selector);
330 $nodes->appendWith($this);
682 $nodes = $this->collection();
685 $nodes = $this->newNodeList([$nodes->first()]);
688 return $nodes->reduce(function($carry, $node) {
699 $nodes = $this->collection();
702 $nodes = $this->newNodeList([$nodes->first()]);
705 return $nodes->contents()->reduce(function($carry, $node) {