Ejemplo n.º 1
0
 public function __construct($errors, \DOMDocument $document, $xmlInput)
 {
     $this->errors = $errors;
     $this->document = $document;
     $this->xmlInput = $xmlInput;
     parent::__construct($this->errorsToString($errors));
 }
Ejemplo n.º 2
0
 public function __construct()
 {
     parent::__construct('The given XML-String was empty');
 }