. */ namespace SP\Providers\Mail; /** * Class MailParams * * @package SP\Providers\Mail */ final class MailParams { public function __construct( private readonly string $server, private readonly int $port, private readonly string $user, private readonly string $pass, private readonly string $security, private readonly string $from, private readonly 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; } }