mirror of
https://github.com/openvk/openvk
synced 2024-11-14 11:09:12 +03:00
8a893daec0
Draft implementation of mention notif
14 lines
453 B
PHP
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);
|
|
}
|
|
}
|