You are here

public function ServiceReferenceGraphNode::__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/ServiceReferenceGraphNode.php \Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode::__construct()

Constructor.

Parameters

string $id The node identifier:

mixed $value The node value:

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Compiler/ServiceReferenceGraphNode.php, line 37

Class

ServiceReferenceGraphNode
Represents a node in your service graph.

Namespace

Symfony\Component\DependencyInjection\Compiler

Code

public function __construct($id, $value) {
  $this->id = $id;
  $this->value = $value;
}