2025-01-31 18:20:13 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
2021-12-19 15:34:33 +03:00
|
|
|
namespace openvk\Web\Models\Entities\Notifications;
|
2025-01-31 18:20:13 +03:00
|
|
|
|
2022-02-08 00:20:55 +03:00
|
|
|
use openvk\Web\Models\Entities\User;
|
2021-12-19 15:34:33 +03:00
|
|
|
|
|
|
|
final class CoinsTransferNotification extends Notification
|
|
|
|
{
|
|
|
|
protected $actionCode = 9602;
|
2025-01-31 18:20:13 +03:00
|
|
|
|
|
|
|
public function __construct(User $receiver, User $sender, int $value, string $message)
|
2021-12-19 15:34:33 +03:00
|
|
|
{
|
|
|
|
parent::__construct($receiver, $receiver, $sender, time(), $value . " " . $message);
|
|
|
|
}
|
|
|
|
}
|