* SPDX-License-Identifier: AGPL-3.0-or-later */ namespace KTXF\Mail\Service; use JsonSerializable; /** * Defines the scope/context of a mail service * * @since 2025.05.01 */ enum ServiceScope: string implements JsonSerializable { /** * System-level service for tenant-wide communications * (e.g., notifications@, reports@, noreply@) */ case System = 'system'; /** * User-level service for personal mail accounts * (e.g., user's own IMAP/SMTP accounts) */ case User = 'user'; public function jsonSerialize(): string { return $this->value; } }