You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This document provides an overview of all Enums and Constants defined in the maatify/common library.
These foundational definitions ensure a consistent standard across all Maatify components.
🧩 Enums Overview
Enum
Description
Example Usage
TextDirectionEnum
Defines text layout direction
TextDirectionEnum::LTR → ltr
MessageTypeEnum
Standard system message types
MessageTypeEnum::SUCCESS → success
ErrorCodeEnum
Global error identifiers used in exceptions
ErrorCodeEnum::NOT_FOUND → E_NOT_FOUND
PlatformEnum
Defines request source (e.g., Web, API, Mobile)
PlatformEnum::WEB → web
AppEnvironmentEnum
Indicates the current app environment
AppEnvironmentEnum::PRODUCTION → production
🧠 EnumHelper
A utility class that provides consistent operations for handling any PHP Enum.