Lines Matching defs:type
16 private string $type;
38 public function __construct($type)
40 $this->type = $type;
128 return $this->type;
223 switch ($this->type) {
225 $type = LogUtility::LVL_MSG_WARNING;
228 $type = LogUtility::LVL_MSG_INFO;
231 $type = LogUtility::LVL_MSG_ERROR;
234 $type = LogUtility::LVL_MSG_ERROR;
236 LogUtility::msg($content, $type, $this->canonical);
266 if (!isset($this->type)) {
269 switch ($this->type) {
279 public function setType(string $type): Message
281 $this->type = $type;