success = $success; $this->message = $message; $this->rowCount = $rowCount; $this->tableCount = $tableCount; $this->timestamp = $timestamp; } public function isSuccess(): bool { return $this->success; } public function message(): string { return $this->message; } public function rowCount(): int { return $this->rowCount; } public function tableCount(): int { return $this->tableCount; } public function timestamp(): int { return $this->timestamp; } public function toArray(): array { return [ 'success' => $this->success, 'message' => $this->message, 'row_count' => $this->rowCount, 'table_count' => $this->tableCount, 'timestamp' => $this->timestamp, ]; } }