2025-04-03 19:54:08 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
*/
|
|
|
|
|
namespace OCP\Calendar;
|
|
|
|
|
|
|
|
|
|
use Generator;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ICalendar Interface Extension to export data
|
|
|
|
|
*
|
|
|
|
|
* @since 32.0.0
|
|
|
|
|
*/
|
|
|
|
|
interface ICalendarExport {
|
2025-06-30 09:04:05 -04:00
|
|
|
|
2025-04-03 19:54:08 -04:00
|
|
|
/**
|
|
|
|
|
* Export objects
|
|
|
|
|
*
|
|
|
|
|
* @since 32.0.0
|
|
|
|
|
*
|
|
|
|
|
* @param CalendarExportOptions|null $options
|
|
|
|
|
*
|
|
|
|
|
* @return Generator<\Sabre\VObject\Component\VCalendar>
|
|
|
|
|
*/
|
|
|
|
|
public function export(?CalendarExportOptions $options): Generator;
|
|
|
|
|
|
|
|
|
|
}
|