public function ServiceReferenceGraph::hasNode

Checks if the graph has a specific node.

Parameters

string $id Id to check:

Return value

Boolean

File

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

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]);
}