. */ namespace SP\Domain\Notification\Dtos; /** * Class MailParams */ final readonly class MailParams { public function __construct( private string $server, private int $port, private string $user, private string $pass, private string $security, private string $from, private bool $mailAuthenabled ) { } public function getServer(): string { return $this->server; } public function getPort(): int { return $this->port; } public function getUser(): string { return $this->user; } public function getPass(): string { return $this->pass; } public function getSecurity(): string { return $this->security; } public function getFrom(): string { return $this->from; } public function isMailAuthenabled(): bool { return $this->mailAuthenabled; } }