| 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 Фамилия |
||
| 16 | * @param string $firstname Имя |
||
| 17 | * @param string $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 |