Version.php 591 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace Braintree;
  3. /**
  4. * Braintree Library Version
  5. * stores version information about the Braintree library
  6. */
  7. class Version
  8. {
  9. /**
  10. * class constants
  11. */
  12. const MAJOR = 3;
  13. const MINOR = 35;
  14. const TINY = 0;
  15. /**
  16. * @ignore
  17. * @access protected
  18. */
  19. protected function __construct()
  20. {
  21. }
  22. /**
  23. *
  24. * @return string the current library version
  25. */
  26. public static function get()
  27. {
  28. return self::MAJOR . '.' . self::MINOR . '.' . self::TINY;
  29. }
  30. }
  31. class_alias('Braintree\Version', 'Braintree_Version');