Total Complexity | 5 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class GetContractsCommand |
||
8 | { |
||
9 | /** @var string */ |
||
10 | private $rfc; |
||
11 | |||
12 | /** @var string */ |
||
13 | private $name; |
||
14 | |||
15 | /** @var string */ |
||
16 | private $address; |
||
17 | |||
18 | /** @var string */ |
||
19 | private $email; |
||
20 | |||
21 | 2 | public function __construct(string $rfc, string $name, string $address, string $email) |
|
27 | 2 | } |
|
28 | |||
29 | 2 | public function rfc(): string |
|
30 | { |
||
31 | 2 | return $this->rfc; |
|
32 | } |
||
33 | |||
34 | 2 | public function name(): string |
|
35 | { |
||
36 | 2 | return $this->name; |
|
37 | } |
||
38 | |||
39 | 2 | public function address(): string |
|
42 | } |
||
43 | |||
44 | 2 | public function email(): string |
|
49 |