openvk/Web/Models/Entities/Notifications/LikeNotification.php

19 lines
405 B
PHP
Raw Normal View History

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