code; } public function get_status(): string { return $this->status; } public function get_message(): string { return $this->message; } public function get_remediation(): string { return $this->remediation; } public function get_source_rule(): string { return $this->source_rule; } public function get_technical_context(): array { return $this->technical_context; } public function to_array(): array { return array( 'code' => $this->code, 'status' => $this->status, 'message' => $this->message, 'remediation' => $this->remediation, 'source_rule' => $this->source_rule, 'technical_context' => $this->technical_context, ); } }