mirror of
https://github.com/openvk/openvk
synced 2024-11-11 09:29:29 +03:00
13 lines
406 B
PHP
13 lines
406 B
PHP
<?php declare(strict_types=1);
|
|
namespace openvk\Web\Models\Entities\Notifications;
|
|
use openvk\Web\Models\Entities\{User, Post};
|
|
|
|
final class WallPostNotification extends Notification
|
|
{
|
|
protected $actionCode = 3;
|
|
|
|
function __construct(User $recipient, Post $post, User $poster)
|
|
{
|
|
parent::__construct($recipient, $post, $poster, time(), ovk_proc_strtr($post->getText(), 10));
|
|
}
|
|
}
|