Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
19 | 2 | public static function fromEcAdapter(EcAdapterInterface $ecAdapter) |
|
20 | { |
||
21 | 2 | $derSigSer = EcSerializer::getSerializer(DerSignatureSerializerInterface::class); |
|
22 | 2 | $txSigSer = new TransactionSignatureSerializer($derSigSer); |
|
23 | 2 | $pkSer = EcSerializer::getSerializer(PublicKeySerializerInterface::class); |
|
24 | 2 | return new CheckerCreator($ecAdapter, $txSigSer, $pkSer); |
|
25 | } |
||
37 |