| Total Complexity | 1 | 
| Total Lines | 20 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php | ||
| 16 | class SpotifyConnectionFactory implements VendorConnectionFactory | ||
| 17 | { | ||
| 18 | /** | ||
| 19 | * Returns a Spotify Connection instance using given credentials. Visit the following link for credentials. | ||
| 20 | * @see https://developer.spotify.com/dashboard/applications | ||
| 21 | * | ||
| 22 | * @param string $clientId the client id which can be generated at the third party 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 | * @return VendorConnection | ||
| 26 | */ | ||
| 27 | 1 | public function get($clientId, $clientSecret, $callbackUrl) | |
| 39 |