public function ServiceReferenceGraph::hasNode

Checks if the graph has a specific node.

Parameters

string $id Id to check:

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Compiler/ServiceReferenceGraph.php, line 41

Class

ServiceReferenceGraph
This is a directed graph of your services.

Namespace

Symfony\Component\DependencyInjection\Compiler

Code

public function hasNode($id) {
  return isset($this->nodes[$id]);
}