class ServiceReferenceGraphEdge

Represents an edge in your service graph.

Value is typically a reference.

Methods

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

No description

string
getValue()

Returns the value of the edge.

getSourceNode()

Returns the source node.

getDestNode()

Returns the destination node.

bool
isLazy()

Returns true if the edge is lazy, meaning it's a dependency not requiring direct instantiation.

Details

at line line 34
__construct(ServiceReferenceGraphNode $sourceNode, ServiceReferenceGraphNode $destNode, string $value = null, bool $lazy = false)

Parameters

ServiceReferenceGraphNode $sourceNode
ServiceReferenceGraphNode $destNode
string $value
bool $lazy

at line line 47
string getValue()

Returns the value of the edge.

Return Value

string

at line line 57
ServiceReferenceGraphNode getSourceNode()

Returns the source node.

at line line 67
ServiceReferenceGraphNode getDestNode()

Returns the destination node.

at line line 77
bool isLazy()

Returns true if the edge is lazy, meaning it's a dependency not requiring direct instantiation.

Return Value

bool