| Total Complexity | 6 |
| Total Lines | 54 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class EditCommand |
||
| 8 | { |
||
| 9 | /** @var string */ |
||
| 10 | private $rfc; |
||
| 11 | |||
| 12 | /** @var CustomerStatus */ |
||
| 13 | private $status; |
||
| 14 | |||
| 15 | /** @var string */ |
||
| 16 | private $certificate; |
||
| 17 | |||
| 18 | /** @var string */ |
||
| 19 | private $privateKey; |
||
| 20 | |||
| 21 | /** @var string */ |
||
| 22 | private $passPhrase; |
||
| 23 | |||
| 24 | 6 | public function __construct( |
|
| 25 | string $rfc, |
||
| 26 | CustomerStatus $status, |
||
| 27 | string $certificate = '', |
||
| 28 | string $privateKey = '', |
||
| 29 | string $passPhrase = '' |
||
| 30 | ) { |
||
| 31 | 6 | $this->rfc = $rfc; |
|
| 32 | 6 | $this->status = $status; |
|
| 33 | 6 | $this->certificate = $certificate; |
|
| 34 | 6 | $this->privateKey = $privateKey; |
|
| 35 | 6 | $this->passPhrase = $passPhrase; |
|
| 36 | } |
||
| 37 | |||
| 38 | 6 | public function rfc(): string |
|
| 39 | { |
||
| 40 | 6 | return $this->rfc; |
|
| 41 | } |
||
| 42 | |||
| 43 | 6 | public function status(): CustomerStatus |
|
| 46 | } |
||
| 47 | |||
| 48 | 6 | public function certificate(): string |
|
| 49 | { |
||
| 50 | 6 | return $this->certificate; |
|
| 51 | } |
||
| 52 | |||
| 53 | 6 | public function privateKey(): string |
|
| 54 | { |
||
| 55 | 6 | return $this->privateKey; |
|
| 56 | } |
||
| 57 | |||
| 58 | 6 | public function passPhrase(): string |
|
| 61 | } |
||
| 62 | } |
||
| 63 |