| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | 1 | public function get($clientId, $clientSecret, $callbackUrl) |
|
| 26 | { |
||
| 27 | 1 | return new GoogleConnection( |
|
| 28 | 1 | new GoogleApiConfiguration( |
|
| 29 | 1 | $clientId, |
|
| 30 | 1 | $clientSecret, |
|
| 31 | array( |
||
| 32 | 1 | Google_Service_Plus::USERINFO_EMAIL, |
|
| 33 | 1 | Google_Service_Plus::USERINFO_PROFILE, |
|
| 34 | 1 | ), |
|
| 35 | $callbackUrl |
||
| 36 | 1 | ), |
|
| 37 | 1 | new CurlRequest() |
|
| 38 | 1 | ); |
|
| 41 |