for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Genkgo\Camt\Camt052\MessageFormat;
use Genkgo\Camt\Camt052;
use Genkgo\Camt\Decoder;
use Genkgo\Camt\DecoderInterface;
use Genkgo\Camt\MessageFormatInterface;
/**
* Class MessageFormat
* @package Genkgo\Camt\Camt052
*/
final class V02 implements MessageFormatInterface
{
* @return string
public function getXmlNs()
return 'urn:iso:std:iso:20022:tech:xsd:camt.052.001.02';
}
public function getMsgId()
return 'camt.052.001.02';
public function getName()
return 'BankToCustomerAccountReportV02';
* @return DecoderInterface
public function getDecoder()
$entryTransactionDetailDecoder = new Camt052\Decoder\EntryTransactionDetail();
$entryDecoder = new Decoder\Entry($entryTransactionDetailDecoder);
$recordDecoder = new Decoder\Record($entryDecoder);
$messageDecoder = new Camt052\Decoder\V02\Message($recordDecoder);
return new Decoder($messageDecoder, sprintf('/assets/%s.xsd', $this->getMsgId()));