Documentation

ServiceReferenceGraphEdge
in package

Represents an edge in your service graph.

Value is typically a reference.

Tags
author

Johannes M. Schmitt schmittjoh@gmail.com

Table of Contents

$byConstructor  : mixed
$destNode  : mixed
$lazy  : mixed
$sourceNode  : mixed
$value  : mixed
$weak  : mixed
__construct()  : mixed
getDestNode()  : ServiceReferenceGraphNode
Returns the destination node.
getSourceNode()  : ServiceReferenceGraphNode
Returns the source node.
getValue()  : mixed
Returns the value of the edge.
isLazy()  : bool
Returns true if the edge is lazy, meaning it's a dependency not requiring direct instantiation.
isReferencedByConstructor()  : bool
Returns true if the edge links with a constructor argument.
isWeak()  : bool
Returns true if the edge is weak, meaning it shouldn't prevent removing the target service.

Properties

Methods

isLazy()

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

public isLazy() : bool
Return values
bool

isReferencedByConstructor()

Returns true if the edge links with a constructor argument.

public isReferencedByConstructor() : bool
Return values
bool

isWeak()

Returns true if the edge is weak, meaning it shouldn't prevent removing the target service.

public isWeak() : bool
Return values
bool

Search results