public function toArray()
    {
        return [
            'severity' => $this->severity,
            'msg' => $this->msg,
            'hint' => $this->hint,
            'link' => !empty($this->link) ? $this->link : null,
            'iconCls' => $this->iconClass,
        ];
    }
public function toArray()
    {
        return [
            'severity' => $this->severity,
            'msg' => $this->msg,
            'hint' => $this->hint,
            'link' => !empty($this->link) ? $this->link : null,
            'iconCls' => $this->iconClass,
        ];
    }
public function toArray ( ) { return [ 'severity' => $ this -> severity , 'msg' => $ this -> msg , 'hint' => $ this -> hint , 'link' => ! empty ( $ this -> link ) ? $ this -> link : null , 'iconCls' => $ this -> iconClass , ] ; }
Return array represantation of this problem.

@return array
Return array represantation of this problem .