You are here

public function ServiceReferenceGraphNode::addOutEdge 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::addOutEdge()

Adds an out edge to this node.

Parameters

ServiceReferenceGraphEdge $edge:

File

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

Class

ServiceReferenceGraphNode
Represents a node in your service graph.

Namespace

Symfony\Component\DependencyInjection\Compiler

Code

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