| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class GetSignedContractsCommand |
||
| 10 | { |
||
| 11 | /** @var string */ |
||
| 12 | private $snid; |
||
| 13 | |||
| 14 | /** @var string */ |
||
| 15 | private $rfc; |
||
| 16 | |||
| 17 | /** @var SignedDocumentFormat */ |
||
| 18 | private $format; |
||
| 19 | |||
| 20 | 2 | public function __construct(string $snid, string $rfc, SignedDocumentFormat $format) |
|
| 21 | { |
||
| 22 | 2 | $this->snid = $snid; |
|
| 23 | 2 | $this->rfc = $rfc; |
|
| 24 | 2 | $this->format = $format; |
|
| 25 | 2 | } |
|
| 26 | |||
| 27 | 2 | public function snid(): string |
|
| 30 | } |
||
| 31 | |||
| 32 | 2 | public function rfc(): string |
|
| 33 | { |
||
| 34 | 2 | return $this->rfc; |
|
| 35 | } |
||
| 36 | |||
| 37 | 2 | public function format(): SignedDocumentFormat |
|
| 40 | } |
||
| 41 | } |
||
| 42 |