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