aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Calendar/ICreateFromString.php
blob: 5badaa2d4cf561e22be39355a1ce204dc20454d1 (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
<?php

declare(strict_types=1);
/**
 * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OCP\Calendar;

use OCP\Calendar\Exceptions\CalendarException;

/**
 * Extends the current ICalendar interface
 * to add a public write method
 *
 * @since 23.0.0
 */
interface ICreateFromString extends ICalendar {
	/**
	 * @since 23.0.0
	 *
	 * @throws CalendarException
	 */
	public function createFromString(string $name, string $calendarData): void;
}