Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | #[InputObjectType] |
||
12 | final class CreateUserRequest implements ParseValueAwareInterface |
||
13 | { |
||
14 | /** |
||
15 | * @param string $lastname Lastname |
||
16 | * @param string $firstname Firstname |
||
17 | * @param string $middlename Middlename |
||
18 | */ |
||
19 | public function __construct( |
||
20 | #[InputObjectField] public readonly string $lastname, |
||
21 | #[InputObjectField] public readonly string $firstname, |
||
22 | #[InputObjectField] public readonly string $middlename, |
||
23 | ) { |
||
24 | } |
||
25 | |||
26 | public static function parseValue(array $values): self |
||
29 | } |
||
30 | } |
||
31 |