ServiceReferenceGraphEdge

ServiceReferenceGraphEdge

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)
string getValue()

Returns the value of the edge.

ServiceReferenceGraphNode getSourceNode()

Returns the source node.

ServiceReferenceGraphNode getDestNode()

Returns the destination node.

bool isLazy()

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

Details

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

Parameters

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

string getValue()

Returns the value of the edge.

Return Value

string

ServiceReferenceGraphNode getSourceNode()

Returns the source node.

Return Value

ServiceReferenceGraphNode

ServiceReferenceGraphNode getDestNode()

Returns the destination node.

Return Value

ServiceReferenceGraphNode

bool isLazy()

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

Return Value

bool
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部