| Total Complexity | 1 | 
| Total Lines | 20 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 15 | class StripeConnectionFactory implements VendorConnectionFactory | ||
| 16 | { | ||
| 17 | /** | ||
| 18 | * Returns a Stripe Connection instance using given credentials. Visit the following links for credentials. | ||
| 19 | * @see https://dashboard.stripe.com/apikeys | ||
| 20 | * @see https://dashboard.stripe.com/settings/applications | ||
| 21 | * | ||
| 22 | * @param string $clientId the client id which can be generated at the Stripe portal | ||
| 23 | * @param string $clientSecret this can be found similar to the clientId | ||
| 24 | * @param string $callbackUrl the url to callback after a third party auth attempt | ||
| 25 | * | ||
| 26 | * @return VendorConnection | ||
| 27 | */ | ||
| 28 | 1 | public function get($clientId, $clientSecret, $callbackUrl) | |
| 39 |