class ServiceReferenceGraphEdge
Represents an edge in your service graph.
Value is typically a reference.
__construct(ServiceReferenceGraphNode $sourceNode, ServiceReferenceGraphNode $destNode, $value = null, bool $lazy = false, bool $weak = false) | ||
mixed | 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. | |
bool | isWeak() Returns true if the edge is weak, meaning it shouldn't prevent removing the target service. |
ServiceReferenceGraphNode | $sourceNode | |
ServiceReferenceGraphNode | $destNode | |
$value | ||
bool | $lazy | |
bool | $weak |
Returns the value of the edge.
mixed |
Returns the source node.
ServiceReferenceGraphNode |
Returns the destination node.
ServiceReferenceGraphNode |
Returns true if the edge is lazy, meaning it's a dependency not requiring direct instantiation.
bool |
Returns true if the edge is weak, meaning it shouldn't prevent removing the target service.
bool |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/DependencyInjection/Compiler/ServiceReferenceGraphEdge.html