id = $malware['id']; $this->status = Status::WARN; $this->description = $malware['message']; $this->link = $malware['link']; $this->entry = 'malware'; $this->malware = $malware; } public function get_meta() { return array_diff_key( $this->malware, [ 'id' => '', 'message' => '', 'link' => '' ] ); } }