XeroAPI/PHP-Xero — pull request #9 by tjardick (2013-08-29 03:08:33+00:00)
Title: Fixes redeclare of class OAuthException error

PHP5 (on mac os X) gave the following error:

PHP Fatal error: Cannot redeclare class OAuthException

Wrapping this in class_exists check fixes the issue