| Total Complexity | 1 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class TwitterConnectionFactory implements VendorConnectionFactory |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Returns a Twitter Connection instance using given credentials. Visit the following link for credentials. |
||
| 19 | * @see https://developer.twitter.com/en/apps |
||
| 20 | * |
||
| 21 | * @param string $clientId the client id which can be generated at the third party portal |
||
| 22 | * @param string $clientSecret this can be found similar to the clientId |
||
| 23 | * @param string $callbackUrl the url to callback after a third party auth attempt |
||
| 24 | * @return VendorConnection |
||
| 25 | */ |
||
| 26 | 1 | public function get($clientId, $clientSecret, $callbackUrl) |
|
| 37 |