We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e4f54b + 74d96db commit ac271b6Copy full SHA for ac271b6
service_container/tags.rst
@@ -601,7 +601,8 @@ directly via PHP attributes:
601
{
602
public function __construct(
603
// the attribute must be applied directly to the argument to autowire
604
- #[TaggedIterator('app.handler')] iterable $handlers
+ #[TaggedIterator('app.handler')]
605
+ iterable $handlers
606
) {
607
}
608
@@ -683,7 +684,8 @@ iterator, add the ``exclude`` option:
683
684
class HandlerCollection
685
686
- #[TaggedIterator('app.handler', exclude: ['App\Handler\Three'])] iterable $handlers
687
+ #[TaggedIterator('app.handler', exclude: ['App\Handler\Three'])]
688
689
690
691
0 commit comments