Passed
Push — master ( 956624...05ed8c )
by Bertrand
08:49
created

UserDto::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
nc 1
nop 3
dl 0
loc 5
rs 10
c 1
b 0
f 0
1
<?php
2
3
4
namespace App\Src\UseCases\Domain\Context\Dto;
5
6
7
use App\Src\UseCases\Domain\Shared\Model\Dto;
8
9
class UserDto extends Dto
10
{
11
    public $userUid;
12
    public $firstname;
13
    public $lastname;
14
15
    public function __construct(string $userId, string $firstname, string $lastname)
16
    {
17
        $this->userUid = $userId;
18
        $this->firstname = $firstname;
19
        $this->lastname = $lastname;
20
    }
21
}
22