public function getSeverityReason()
    {
        if (!array_key_exists('type', $this->severityReason)) {
            syslog(LOG_WARNING, 'Severity reason should always have a "type" set');
            $this->severityReason['type'] = 'userSpecifiedSeverity';
        }

        return $this->severityReason;
    }
public function getSeverityReason()
    {
        if (!array_key_exists('type', $this->severityReason)) {
            syslog(LOG_WARNING, 'Severity reason should always have a "type" set');
            $this->severityReason['type'] = 'userSpecifiedSeverity';
        }

        return $this->severityReason;
    }
public function getSeverityReason ( ) { if ( ! array_key_exists ( 'type' , $ this -> severityReason ) ) { syslog ( LOG_WARNING , 'Severity reason should always have a "type" set' ) ; $ this -> severityReason [ 'type' ] = 'userSpecifiedSeverity' ; } return $ this -> severityReason ; }
Gets the severity reason.

@return array
Gets the severity reason .