CalendarService
in package
Read onlyYes
Used to interact with google calendar interface
Table of Contents
Properties
- $googleCalendarApiKey : string
- $googleCalendarId : string
- $logger : LoggerInterface
Methods
- __construct() : mixed
- getEvents() : Events
- authenticateClient() : Google_Client
- createClient() : Google_Client
Properties
$googleCalendarApiKey
private
string
$googleCalendarApiKey
$googleCalendarId
private
string
$googleCalendarId
$logger
private
LoggerInterface
$logger
Methods
__construct()
public
__construct(LoggerInterface $logger, string $googleCalendarApiKey, string $googleCalendarId) : mixed
Parameters
- $logger : LoggerInterface
- $googleCalendarApiKey : string
- $googleCalendarId : string
getEvents()
public
getEvents() : Events
Return values
EventsauthenticateClient()
private
authenticateClient(Google_Client $client) : Google_Client
Parameters
- $client : Google_Client
Return values
Google_ClientcreateClient()
private
createClient() : Google_Client