. */ namespace SP\Http; /** * Class Message * * @package SP\Http */ final class Message { const TYPE_OK = 0; const TYPE_ERROR = 1; const TYPE_WARNING = 2; /** * @var int */ protected $type = 0; /** * @var string */ protected $description; /** * @var string */ protected $hint; /** * @return int */ public function getType() { return $this->type; } /** * @param int $type */ public function setType($type) { $this->type = $type; } /** * @return string */ public function getDescription() { return $this->description; } /** * @param string $description */ public function setDescription($description) { $this->description = $description; } /** * @return string */ public function getHint() { return $this->hint; } /** * @param string $hint */ public function setHint($hint) { $this->hint = $hint; } }