server/src/app/Libraries/Transcript/TranscriptConverterBase.php
changeset 314 f5690d918358
parent 307 07b44a378ad8
child 398 a5bd0f6082f3
equal deleted inserted replaced
313:706f10bcdc3c 314:f5690d918358
     7 use DateTime;
     7 use DateTime;
     8 
     8 
     9 
     9 
    10 abstract class TranscriptConverterBase implements Transcriptconverterinterface {
    10 abstract class TranscriptConverterBase implements Transcriptconverterinterface {
    11 
    11 
    12     public function __construct(Document $document, string $source, string $creationDate = null) {
    12     public function __construct(Document $document, $source, $creationDate = null) {
    13         $this->resJSON = [];
    13         $this->resJSON = [];
    14         $this->document = $document;
    14         $this->document = $document;
    15 
    15 
    16         $this->source = new \DOMDocument();
    16         $this->source = new \DOMDocument();
    17         $this->source->loadXML($source, LIBXML_NOCDATA|LIBXML_NOBLANKS);
    17         $this->source->loadXML($source, LIBXML_NOCDATA|LIBXML_NOBLANKS);