2025-01-31 18:20:13 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
2020-06-07 19:04:43 +03:00
|
|
|
namespace openvk\Web\Models\Entities\Notifications;
|
2025-01-31 18:20:13 +03:00
|
|
|
|
2020-06-07 19:04:43 +03:00
|
|
|
use openvk\Web\Models\Entities\{User, Post};
|
|
|
|
|
|
|
|
final class LikeNotification extends Notification
|
|
|
|
{
|
|
|
|
protected $actionCode = 0;
|
2020-07-15 15:32:34 +03:00
|
|
|
protected $threshold = 120;
|
2025-01-31 18:20:13 +03:00
|
|
|
|
|
|
|
public function __construct(User $recipient, Post $post, User $liker)
|
2020-06-07 19:04:43 +03:00
|
|
|
{
|
|
|
|
parent::__construct($recipient, $post, $liker, time(), "");
|
|
|
|
}
|
|
|
|
}
|