Total Complexity | 4 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | final class Param implements ParamInterface |
||
8 | { |
||
9 | public function __construct(private int|string $name, private mixed $value, private int $type) |
||
10 | { |
||
11 | } |
||
12 | |||
13 | public function getName(): int|string |
||
14 | { |
||
15 | return $this->name; |
||
16 | } |
||
17 | |||
18 | public function getValue(): mixed |
||
19 | { |
||
20 | return $this->value; |
||
21 | } |
||
22 | |||
23 | public function getType(): int |
||
26 | } |
||
27 | } |
||
28 |