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
* Represents a closure acting as a locator for services found by tag name.
16
+
*
17
+
* @author Alexander M. Turek <me@derrabus.de>
18
+
*/
19
+
#[\Attribute(\Attribute::TARGET_PARAMETER)]
20
+
class TaggedLocatorArgument extends ServiceLocatorArgument
21
+
{
22
+
/**
23
+
* @param string $tag The name of the tag identifying the target services
24
+
* @param string|null $indexAttribute The name of the attribute that defines the key referencing each service in the tagged collection
25
+
* @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
26
+
* @param bool $needsIndexes Whether indexes are required and should be generated when computing the map
27
+
* @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
0 commit comments