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

Breadcrumb

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

function FindingVisitor::getFoundNodes

Get found nodes satisfying the filter callback.

Nodes are returned in pre-order.

Return value

Node[] Found nodes

File

vendor/nikic/php-parser/lib/PhpParser/NodeVisitor/FindingVisitor.php, line 29

Class

FindingVisitor
This visitor can be used to find and collect all nodes satisfying some criterion determined by a filter callback.

Namespace

PhpParser\NodeVisitor

Code

public function getFoundNodes() : array {
    return $this->foundNodes;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal