Source of file SystemHealth.php
Size: 1,727 Bytes - Last Modified: 2020-10-24T02:46:31+00:00
/home/travis/build/NextDom/nextdom-core/src/Model/DataClass/SystemHealth.php
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 | <?php namespace NextDom\Model\DataClass; class SystemHealth { public $icon; public $nameCode; public $state; public $result; public $comment; public $key; public function __construct($icon, $nameCode, $state, $result, $comment, $key) { $this->icon = $icon; $this->nameCode = $nameCode; $this->state = $state; $this->result = $result; $this->comment = $comment; $this->key = $key; } /** * @return mixed */ public function getIcon() { return $this->icon; } /** * Get health name * @return string * @throws \Exception */ public function getName() { return __($this->nameCode); } /** * @return mixed */ public function getState() { return $this->state; } /** * @param mixed $state * @return SystemHealth */ public function setState($state) { $this->state = $state; return $this; } /** * @return mixed */ public function getResult() { return $this->result; } /** * @param mixed $result * @return SystemHealth */ public function setResult($result) { $this->result = $result; return $this; } /** * @return mixed */ public function getComment() { return $this->comment; } /** * @param mixed $comment * @return SystemHealth */ public function setComment($comment) { $this->comment = $comment; return $this; } /** * @return mixed */ public function getKey() { return $this->key; } } |