1 | <?php |
||
5 | class Client extends \Google_Client |
||
6 | { |
||
7 | /** |
||
8 | * Return configured google api client. |
||
9 | * |
||
10 | * @param $authConfigFile |
||
11 | * @param $applicationName |
||
12 | * |
||
13 | * @return Client |
||
14 | */ |
||
15 | 20 | public static function create($authConfigFile, $applicationName) |
|
26 | |||
27 | /** |
||
28 | * Throw an exception if google service config file is not found. |
||
29 | * |
||
30 | * @param $authConfigFile |
||
31 | * @throws \Exception |
||
32 | */ |
||
33 | 20 | private static function checkAuthConfigFile($authConfigFile) |
|
39 | } |
||
40 |