2015-01-23 13:09:30 +00:00
|
|
|
<?php
|
|
|
|
|
2016-07-22 20:00:27 +00:00
|
|
|
namespace Vn\Web;
|
2015-01-23 13:09:30 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Class used to store information about errors, warnings and info messages.
|
|
|
|
*
|
|
|
|
* @property string $domain The domain name
|
|
|
|
* @property string $code The code of message
|
|
|
|
* @property string $message The message string
|
|
|
|
**/
|
2016-07-22 20:00:27 +00:00
|
|
|
class JsonMessage
|
2015-01-23 13:09:30 +00:00
|
|
|
{
|
|
|
|
var $code;
|
|
|
|
var $message;
|
|
|
|
|
2016-07-22 20:00:27 +00:00
|
|
|
function __construct ($code, $message)
|
2015-01-23 13:09:30 +00:00
|
|
|
{
|
|
|
|
$this->code = $code;
|
|
|
|
$this->message = $message;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|