You are here

public static function Braintree_Modification::factory in Commerce Braintree 7

File

braintree_php/lib/Braintree/Modification.php, line 17

Class

Braintree_Modification

Code

public static function factory($attributes) {
  $instance = new self();
  $instance
    ->_initialize($attributes);
  return $instance;
}