function __construct(CalendarClient $client)
 {
     $this->client = $client;
     $this->googleService = new Google_Service_Calendar($client->getGoogleClient());
     $this->cache = FastCache::file(strtotime('+10 minute'));
 }
<?php

require __DIR__ . '/../vendor/autoload.php';
require __DIR__ . '/../app/Config/Definitions.php';
use Calendar\CalendarClient;
$calendarClient = new CalendarClient();
$calendarService = new Google_Service_Calendar($calendarClient->getGoogleClient());
print_r(json_encode($calendarService->calendarList->listCalendarList()->getItems(), JSON_PRETTY_PRINT));