mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°8910 - Upgrade Symfony packages
This commit is contained in:
@@ -26,8 +26,9 @@ class ServiceReferenceGraphEdge
|
||||
private bool $lazy;
|
||||
private bool $weak;
|
||||
private bool $byConstructor;
|
||||
private bool $byMultiUseArgument;
|
||||
|
||||
public function __construct(ServiceReferenceGraphNode $sourceNode, ServiceReferenceGraphNode $destNode, mixed $value = null, bool $lazy = false, bool $weak = false, bool $byConstructor = false)
|
||||
public function __construct(ServiceReferenceGraphNode $sourceNode, ServiceReferenceGraphNode $destNode, mixed $value = null, bool $lazy = false, bool $weak = false, bool $byConstructor = false, bool $byMultiUseArgument = false)
|
||||
{
|
||||
$this->sourceNode = $sourceNode;
|
||||
$this->destNode = $destNode;
|
||||
@@ -35,6 +36,7 @@ class ServiceReferenceGraphEdge
|
||||
$this->lazy = $lazy;
|
||||
$this->weak = $weak;
|
||||
$this->byConstructor = $byConstructor;
|
||||
$this->byMultiUseArgument = $byMultiUseArgument;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -84,4 +86,9 @@ class ServiceReferenceGraphEdge
|
||||
{
|
||||
return $this->byConstructor;
|
||||
}
|
||||
|
||||
public function isFromMultiUseArgument(): bool
|
||||
{
|
||||
return $this->byMultiUseArgument;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user