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