$oldShares * @param list $added * @param list $removed * @since 20.0.0 */ public function __construct( private int $calendarId, private array $calendarData, private array $oldShares, private array $added, private array $removed, ) { parent::__construct(); } /** * @since 20.0.0 */ public function getCalendarId(): int { return $this->calendarId; } /** * @return array{id: int, uri: string, '{http://calendarserver.org/ns/}getctag': string, '{http://sabredav.org/ns}sync-token': int, '{urn:ietf:params:xml:ns:caldav}supported-calendar-component-set': SupportedCalendarComponentSet, '{urn:ietf:params:xml:ns:caldav}schedule-calendar-transp': ScheduleCalendarTransp, '{urn:ietf:params:xml:ns:caldav}calendar-timezone': ?string } * @since 20.0.0 */ public function getCalendarData(): array { return $this->calendarData; } /** * @return list * @since 20.0.0 */ public function getOldShares(): array { return $this->oldShares; } /** * @return list * @since 20.0.0 */ public function getAdded(): array { return $this->added; } /** * @return list * @since 20.0.0 */ public function getRemoved(): array { return $this->removed; } }