OS : errors = $errors; parent::__construct($message); } /** * Get the XML errors. * * @return \LibXMLError[] Array of XML errors */ public function getErrors(): array { return $this->errors; } }