Skip to content

Commit 339a29d

Browse files
committed
Explaining doc comment
1 parent c595503 commit 339a29d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/DependencyInjection/AutowiredService.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44

55
use Attribute;
66

7+
/**
8+
* Registers a service in the DI container.
9+
*
10+
* Auto-adds service extension tags based on implemented interfaces.
11+
*
12+
* Works thanks to https://github.com/ondrejmirtes/composer-attribute-collector
13+
* and AutowiredAttributeServicesExtension.
14+
*/
715
#[Attribute(flags: Attribute::TARGET_CLASS)]
816
final class AutowiredService
917
{

0 commit comments

Comments
 (0)