aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Comments/ICommentsEventHandler.php
blob: dc0a554ff11c8a23547cdb13afe3cbb2217d959c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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);
}