# La clase XMLDiff\DOM

(PECL xmldiff >= 0.8.0)

## Introducción

## Sinopsis de la Clase

class XMLDiff\DOM extends XMLDiff\Base {
/* Métodos */
public diff(DOMDocument `$from`, DOMDocument `$to`): DOMDocument
public merge(DOMDocument `$src`, DOMDocument `$diff`): DOMDocument
/* Métodos heredados */
abstract public XMLDiff\Base::diff(mixed `$from`, mixed `$to`): mixed
abstract public XMLDiff\Base::merge(mixed `$src`, mixed `$diff`): mixed
}

## Tabla de contenidos

- XMLDiff\DOM::diff — Diferencia dos objetos DOMDocument
- XMLDiff\DOM::merge — Produce DOMDocument unido