You are here

public function ServiceReferenceGraphEdge::__construct in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Compiler/ServiceReferenceGraphEdge.php \Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphEdge::__construct()

Constructor.

Parameters

ServiceReferenceGraphNode $sourceNode:

ServiceReferenceGraphNode $destNode:

string $value:

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Compiler/ServiceReferenceGraphEdge.php, line 34

Class

ServiceReferenceGraphEdge
Represents an edge in your service graph.

Namespace

Symfony\Component\DependencyInjection\Compiler

Code

public function __construct(ServiceReferenceGraphNode $sourceNode, ServiceReferenceGraphNode $destNode, $value = null) {
  $this->sourceNode = $sourceNode;
  $this->destNode = $destNode;
  $this->value = $value;
}