You are here

public function ServiceReferenceGraphNode::addInEdge in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Compiler/ServiceReferenceGraphNode.php \Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode::addInEdge()

Adds an in edge to this node.

Parameters

ServiceReferenceGraphEdge $edge:

File

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

Class

ServiceReferenceGraphNode
Represents a node in your service graph.

Namespace

Symfony\Component\DependencyInjection\Compiler

Code

public function addInEdge(ServiceReferenceGraphEdge $edge) {
  $this->inEdges[] = $edge;
}