Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | class SigValues |
||
11 | { |
||
12 | /** |
||
13 | * @var ScriptInterface |
||
14 | */ |
||
15 | private $scriptSig; |
||
16 | |||
17 | /** |
||
18 | * @var ScriptWitnessInterface |
||
19 | */ |
||
20 | private $scriptWitness; |
||
21 | |||
22 | /** |
||
23 | * SigValues constructor. |
||
24 | * @param ScriptInterface $scriptSig |
||
25 | * @param ScriptWitnessInterface $scriptWitness |
||
26 | */ |
||
27 | 93 | public function __construct(ScriptInterface $scriptSig, ScriptWitnessInterface $scriptWitness) |
|
28 | { |
||
29 | 93 | $this->scriptSig = $scriptSig; |
|
30 | 93 | $this->scriptWitness = $scriptWitness; |
|
31 | 93 | } |
|
32 | |||
33 | /** |
||
34 | * @return ScriptInterface |
||
35 | */ |
||
36 | 93 | public function getScriptSig(): ScriptInterface |
|
39 | } |
||
40 | |||
41 | /** |
||
42 | * @return ScriptWitnessInterface |
||
43 | */ |
||
44 | 91 | public function getScriptWitness(): ScriptWitnessInterface |
|
49 |