$ipHeaders */ public function __construct( string $name, string $message, string $ip, string $userAgent, ?string $email = null, ?string $phone = null, protected array $ipHeaders = [] ) { $this->name = $name; $this->message = $message; $this->ip = $ip; $this->userAgent = $userAgent; $this->email = $email; $this->phone = $phone; } public function handle(TelegramNotificationService $telegram): void { $telegram->notifyContactMessage( $this->name, $this->message, $this->ip, $this->userAgent, $this->email, $this->phone, $this->ipHeaders ); } }