You are here

final class Braintree_Version in Commerce Braintree 7

stores version information about the Braintree library

@copyright 2010 Braintree Payment Solutions

Hierarchy

Expanded class hierarchy of Braintree_Version

File

braintree_php/lib/Braintree/Version.php, line 14

View source
final class Braintree_Version {

  /**
   * class constants
   */
  const MAJOR = 2;
  const MINOR = 16;
  const TINY = 0;

  /**
   * @ignore
   * @access protected
   */
  protected function __construct() {
  }

  /**
   *
   * @return string the current library version
   */
  public static function get() {
    return self::MAJOR . '.' . self::MINOR . '.' . self::TINY;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Braintree_Version::get public static function
Braintree_Version::MAJOR constant class constants
Braintree_Version::MINOR constant
Braintree_Version::TINY constant
Braintree_Version::__construct protected function @ignore @access protected