Total Complexity | 3 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | #[Attribute(flags: Attribute::TARGET_PARAMETER | Attribute::IS_REPEATABLE)] |
||
10 | final class Query implements HandlerParameterAttributeInterface |
||
11 | { |
||
12 | 2 | public function __construct(private string $name) |
|
13 | { |
||
14 | } |
||
15 | |||
16 | 2 | public function getName(): string |
|
17 | { |
||
18 | 2 | return $this->name; |
|
19 | } |
||
20 | |||
21 | 2 | public function getType(): string |
|
24 | } |
||
25 | } |
||
26 |