Total Complexity | 1 |
Total Lines | 14 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | #[\Attribute(\Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)] |
||
32 | final class BindAlias |
||
33 | { |
||
34 | /** |
||
35 | * @param non-empty-string[] $aliases List of class or interface names to bind the returned value to. |
||
36 | */ |
||
37 | public readonly array $aliases; |
||
38 | |||
39 | /** |
||
40 | * @param non-empty-string ...$aliases List of class or interface names to bind the returned value to. |
||
|
|||
41 | */ |
||
42 | 1 | public function __construct(string ...$aliases) |
|
47 |