| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class TransactionIdentifier |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | private $id; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | private $nonce; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param string $id |
||
| 37 | * @param string $nonce |
||
| 38 | */ |
||
| 39 | 1 | public function __construct(string $id, string $nonce) |
|
| 40 | { |
||
| 41 | 1 | $this->nonce = $nonce; |
|
| 42 | 1 | $this->id = $id; |
|
| 43 | 1 | } |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | 1 | public function getId(): string |
|
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | 1 | public function getNonce(): string |
|
| 61 |