Apply PSR-12 code style (#3886)
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / data / reaction / object / IReactionObject.class.php
1 <?php
2
3 namespace wcf\data\reaction\object;
4
5 use wcf\data\like\Like;
6
7 /**
8 * Any reactionable object, which supports notifications, should implement this interface.
9 *
10 * @author Joshua Ruesweg
11 * @copyright 2001-2019 WoltLab GmbH
12 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
13 * @package WoltLabSuite\Core\Data\Reaction\Object
14 * @since 5.2
15 */
16 interface IReactionObject
17 {
18 /**
19 * Sends a notification for this reaction.
20 *
21 * @param Like $like
22 */
23 public function sendNotification(Like $like);
24 }