Last active
August 29, 2015 14:05
-
-
Save tylerhcarter/b4be26f419de4bfcb983 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class My_Gateway extends APP_Payment_Gateway { | |
// Note the new type hinting on the method signature | |
public function process( APP_Instant_Order $order, array $options ) { | |
// ... processing instructions | |
} | |
public function form() { | |
// ... return form fields | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment