| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public static function create($authConfigFile, $applicationName) |
||
| 16 | { |
||
| 17 | self::checkAuthConfigFile($authConfigFile); |
||
| 18 | |||
| 19 | $client = new static(); |
||
| 20 | $client->setAuthConfigFile($authConfigFile); |
||
| 21 | $client->setApplicationName($applicationName); |
||
| 22 | $client->setScopes(\Google_Service_Sheets::SPREADSHEETS); |
||
| 23 | |||
| 24 | return $client; |
||
| 25 | } |
||
| 26 | |||
| 40 |