W3cubDocs

/Symfony 2.8

Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphEdge

class ServiceReferenceGraphEdge

Represents an edge in your service graph.

Value is typically a reference.

Methods

__construct(ServiceReferenceGraphNode $sourceNode, ServiceReferenceGraphNode $destNode, string $value = null)

Constructor.

ServiceReferenceGraphNode getValue()

Returns the value of the edge.

ServiceReferenceGraphNode getSourceNode()

Returns the source node.

ServiceReferenceGraphNode getDestNode()

Returns the destination node.

Details

public __construct(ServiceReferenceGraphNode $sourceNode, ServiceReferenceGraphNode $destNode, string $value = null)

Constructor.

Parameters

ServiceReferenceGraphNode $sourceNode
ServiceReferenceGraphNode $destNode
string $value

public ServiceReferenceGraphNode getValue()

Returns the value of the edge.

public ServiceReferenceGraphNode getSourceNode()

Returns the source node.

public ServiceReferenceGraphNode getDestNode()

Returns the destination node.