Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ServiceReferenceGraphNode.php

function ServiceReferenceGraphNode::isDefinition

Checks if the value of this node is a Definition.

File

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

Class

ServiceReferenceGraphNode
Represents a node in your service graph.

Namespace

Symfony\Component\DependencyInjection\Compiler

Code

public function isDefinition() : bool {
    return $this->value instanceof Definition;
}
RSS feed
Powered by Drupal