This is a simple OOP way to use wkhtmltopdf with PHP5