OAuthAccessRevocation.php 577 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace Braintree;
  3. /**
  4. * Braintree OAuth Revocation module
  5. *
  6. * PHP Version 5
  7. *
  8. * @package Braintree
  9. */
  10. class OAuthAccessRevocation extends Base
  11. {
  12. /**
  13. * @ignore
  14. */
  15. public static function factory($attributes)
  16. {
  17. $instance = new self();
  18. $instance->_initialize($attributes);
  19. return $instance;
  20. }
  21. /**
  22. * @ignore
  23. */
  24. protected function _initialize($attributes)
  25. {
  26. $this->_attributes = $attributes;
  27. }
  28. }
  29. class_alias('Braintree\OAuthAccessRevocation', 'Braintree_OAuthAccessRevocation');