public function __construct(array $patterns, Report $report) { parent::__construct($patterns, $report); $this->dom = new DOMDocument(); }