Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | 1 | public function getDecoder(): DecoderInterface |
|
30 | { |
||
31 | 1 | $entryTransactionDetailDecoder = new Camt052\Decoder\EntryTransactionDetail(new Decoder\Date()); |
|
32 | 1 | $entryDecoder = new Decoder\Entry($entryTransactionDetailDecoder); |
|
33 | 1 | $recordDecoder = new Decoder\Record($entryDecoder, new Decoder\Date()); |
|
34 | 1 | $messageDecoder = new Camt052\Decoder\V06\Message($recordDecoder, new Decoder\Date()); |
|
35 | |||
36 | 1 | return new Decoder($messageDecoder, sprintf('/assets/%s.xsd', $this->getMsgId())); |
|
37 | } |
||
39 |