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