<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace ModulesGarden\HostingQuotaNotifications\App\Helper\Models;

use \ModulesGarden\HostingQuotaNotifications\Core\Models\Whmcs\Client;

/**
 * Description of User
 *
 * @author Artur Pilch <artur.pi@modulesgarden.com>
 */
class User
{
    CONST URL = '<a href="clientssummary.php?userid=%s">%s</a>';

    public static function getUserValueById($userId, $value)
    {
        return Client::where('id', '=', $userId)->first()->value($value);
    }
}
