meetings = []; } /** * Retrieves a meeting's instances. * * @param Client $client * @param int $meetingId * * @throws Exception * * @return MeetingInstances the meeting's instances */ public static function fromMeetingId($client, $meetingId) { return static::fromJson($client->send('GET', "past_meetings/$meetingId/instances")); } /** * {@inheritdoc} */ public function itemClass($propertyName) { if ('meetings' === $propertyName) { return MeetingInstance::class; } throw new Exception("No such array property $propertyName"); } }