caxy / php-htmldiff

A library for comparing two HTML files/snippets and highlighting the differences using simple HTML. Includes support for comparing complex lists and tables
http://php-htmldiff.caxy.com
GNU General Public License v2.0
202 stars 51 forks source link

Support derived classes #10

Closed mkalkbrenner closed 9 years ago

mkalkbrenner commented 9 years ago

For some special use cases it makes sense to create derived classes of HtmlDiff to adjust it's behavior to own needs. Doing this by creating a derived class is better than creating a fork or using a patched version. To support this it's essential to turn private properties and functions into protected ones that could be altered by the derived class.

jschroed91 commented 9 years ago

Looks great, thanks!

mkalkbrenner commented 9 years ago

You already created a new release! Perfect, thanks!