You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/Argument/TaggedIteratorArgument.php
+15-7Lines changed: 15 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -24,16 +24,18 @@ class TaggedIteratorArgument extends IteratorArgument
24
24
private ?string$defaultPriorityMethod;
25
25
privatebool$needsIndexes;
26
26
privatearray$exclude;
27
+
privatebool$autoExcludeReferencingService = true;
27
28
28
29
/**
29
-
* @param string $tag The name of the tag identifying the target services
30
-
* @param string|null $indexAttribute The name of the attribute that defines the key referencing each service in the tagged collection
31
-
* @param string|null $defaultIndexMethod The static method that should be called to get each service's key when their tag doesn't define the previous attribute
32
-
* @param bool $needsIndexes Whether indexes are required and should be generated when computing the map
33
-
* @param string|null $defaultPriorityMethod The static method that should be called to get each service's priority when their tag doesn't define the "priority" attribute
34
-
* @param array $exclude Services to exclude from the iterator
30
+
* @param string $tag The name of the tag identifying the target services
31
+
* @param string|null $indexAttribute The name of the attribute that defines the key referencing each service in the tagged collection
32
+
* @param string|null $defaultIndexMethod The static method that should be called to get each service's key when their tag doesn't define the previous attribute
33
+
* @param bool $needsIndexes Whether indexes are required and should be generated when computing the map
34
+
* @param string|null $defaultPriorityMethod The static method that should be called to get each service's priority when their tag doesn't define the "priority" attribute
35
+
* @param array $exclude Services to exclude from the iterator
36
+
* @param array $autoExcludeReferencingService Whether to automatically exclude the referencing service from the iterator
0 commit comments