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

Breadcrumb

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

function ServiceReferenceGraph::clear

Clears all nodes.

File

vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraph.php, line 66

Class

ServiceReferenceGraph
This is a directed graph of your services.

Namespace

Symfony\Component\DependencyInjection\Compiler

Code

public function clear() : void {
    foreach ($this->nodes as $node) {
        $node->clear();
    }
    $this->nodes = [];
}

API Navigation

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