<?php
namespace ModulesAbstract\ElectronicInvoice\UBL30Exporter; class Invoice extends ExporterAbstract { public function generate() { $xml = new \Engine\SimpleXmlElement(<<<XML
<?xml version="1.0" encoding="UTF-8"?>
<Invoice
	xmlns:cac="{$this->namespaces['cac']}"
	xmlns:cbc="{$this->namespaces['cbc']}"
	xmlns="{$this->namespaces['root']}"
></Invoice>
XML
); $this->generateObjectTag($xml, $this->peppolStructure); return $xml; } } 