aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Comments/ICommentsEventHandler.php
blob: 148ead2c367f6e6edde7e156d3705b4ce01a9cc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

/**
 * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OCP\Comments;

/**
 * Interface ICommentsEventHandler
 *
 * @since 11.0.0
 * @deprecated 30.0.0 Register a listener for the CommentsEvent through the IEventDispatcher
 */
interface ICommentsEventHandler {
	/**
	 * @param CommentsEvent $event
	 * @since 11.0.0
	 * @deprecated 30.0.0 Register a listener for the CommentsEvent through the IEventDispatcher
	 */
	public function handle(CommentsEvent $event);
}