You are here

public function ServiceReferenceGraph::hasNode 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::hasNode()

Checks if the graph has a specific node.

Parameters

string $id Id to check:

Return value

bool

File

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

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