| Current Path : /home/purehotels/public_html/administrator/components/com_watchfulli/classes/apps/ |
| Current File : /home/purehotels/public_html/administrator/components/com_watchfulli/classes/apps/AppValue.php |
<?php
/**
* @version admin/classes/apps/AppValue.php 2020-05-27 zanardigit
* @package Watchful Client
* @author Watchful
* @authorUrl https://watchful.net
* @copyright Copyright (c) 2012-2023 Watchful
* @license GNU/GPL v3 or later
*/
class AppValue
{
/**
* @var string Identifier for this value
*/
public $name;
/**
* @var mixed Actual value
*/
public $value;
/**
* @param string $name
* @param mixed $value
*/
public function __construct($name, $value)
{
if (empty($name) || empty($value))
{
throw new Exception("Unable to create an AppValue with empty name or value");
}
$this->name = $name;
$this->value = $value;
}
}