コード例 #1
0
ファイル: ParsingException.php プロジェクト: webfactory/dom
 public function __construct($errors, \DOMDocument $document, $xmlInput)
 {
     $this->errors = $errors;
     $this->document = $document;
     $this->xmlInput = $xmlInput;
     parent::__construct($this->errorsToString($errors));
 }
コード例 #2
0
 public function __construct()
 {
     parent::__construct('The given XML-String was empty');
 }