host = $host; $this->port = $port; $this->username = $username; $this->password = $password; $this->security = $security; } public function getHost(): string { return $this->host; } public function getPort(): int { return $this->port; } public function getUsername(): string { return $this->username; } public function getPassword(): ?string { return $this->password; } public function getSecurity(): ?string { return $this->security; } }