<?php

namespace ModulesGarden\HostingQuotaNotifications\App\Helper\Models;

use \ModulesGarden\HostingQuotaNotifications\Core\Models\Whmcs\Product as ProductCoreModel;

/**
 * Class Product
 *
 * @author Artur Pilch <artur.pi@modulesgarden.com>
 */
class Product
{
    CONST URL = '<a href="configproducts.php?action=edit&id=%s">%s</a>';


    public static function getValueById($id, $value)
    {
        return ProductCoreModel::where('id', '=', $id)->value($value);
    }
}