Flarum\Core\Command\ReadNotification::__construct PHP Метод

__construct() публичный Метод

public __construct ( integer $notificationId, User $actor )
$notificationId integer The ID of the notification to mark as read.
$actor Flarum\Core\User The user performing the action.
    public function __construct($notificationId, User $actor)
    {
        $this->notificationId = $notificationId;
        $this->actor = $actor;
    }
ReadNotification