aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Calendar/ICalendarExport.php
blob: d884c104a4a2a4ef1a3748724f92f5cf220aa061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?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 {

	/**
	 * Export objects
	 *
	 * @since 32.0.0
	 *
	 * @param CalendarExportOptions|null $options
	 *
	 * @return Generator<\Sabre\VObject\Component\VCalendar>
	 */
	public function export(?CalendarExportOptions $options): Generator;

}