1234567891011121314151617181920212223242526272829 |
- <?php
- namespace Braintree;
- class AddOn extends Modification
- {
- /**
- *
- * @param array $attributes
- * @return AddOn
- */
- public static function factory($attributes)
- {
- $instance = new self();
- $instance->_initialize($attributes);
- return $instance;
- }
- /**
- * static methods redirecting to gateway
- *
- * @return AddOn[]
- */
- public static function all()
- {
- return Configuration::gateway()->addOn()->all();
- }
- }
- class_alias('Braintree\AddOn', 'Braintree_AddOn');
|