Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | public static function createForCalendarId(string $calendarId): GoogleCalendar |
||
11 | { |
||
12 | $config = config('laravel-google-calendar'); |
||
13 | |||
14 | $client = self::createAuthenticatedGoogleClient($config); |
||
15 | |||
16 | $service = new Google_Service_Calendar($client); |
||
17 | |||
18 | return self::createCalendarClient($service, $calendarId); |
||
19 | } |
||
20 | |||
39 |