public function getSeverityName() : string { switch ($this->getSeverity()) { case self::SEVERITY_LOW: return 'low'; case self::SEVERITY_NORMAL: return 'normal'; case self::SEVERITY_CRITICAL: return 'critical'; } }