openvk/Web/Models/Entities/Notifications/MentionNotification.php
celestora 8a893daec0 Add mention notifications
Draft implementation of mention notif
2022-12-10 21:33:13 +02:00

14 lines
453 B
PHP

<?php declare(strict_types=1);
namespace openvk\Web\Models\Entities\Notifications;
use openvk\Web\Models\Entities\Postable;
use openvk\Web\Models\Entities\User;
final class MentionNotification extends Notification
{
protected $actionCode = 4;
function __construct(User $recipient, Postable $discussionHost, $mentioner, string $quote = "")
{
parent::__construct($recipient, $mentioner, $discussionHost, time(), $quote);
}
}