You are here

public function ServiceReferenceGraphNode::isDefinition in Zircon Profile 8

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

Checks if the value of this node is a Definition.

Return value

bool True if the value is a Definition instance

File

vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraphNode.php, line 78

Class

ServiceReferenceGraphNode
Represents a node in your service graph.

Namespace

Symfony\Component\DependencyInjection\Compiler

Code

public function isDefinition() {
  return $this->value instanceof Definition;
}