You are here

public function ServiceReferenceGraph::clear in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraph.php \Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph::clear()

Clears all nodes.

File

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

Class

ServiceReferenceGraph
This is a directed graph of your services.

Namespace

Symfony\Component\DependencyInjection\Compiler

Code

public function clear() {
  $this->nodes = array();
}