Application
Interfaces, Classes, Traits and Enums
- AppointmentController
- The AppointmentController is responsible for handling time zone API requests.
- AppointmentDurationController
- Controller class for handling appointment durations.
- BaseController
- The BaseController class provides common functionality for controllers.
- ExceptionController
- Controller class for exceptions.
- MedicalCenterController
- Controller class for managing medical centers.
- ScheduleController
- Controller class for managing schedules.
- ScheduleTimeSlotController
- Controller class for handling schedule time slots.
- Connection
- Connection class for establishing a PDO database connection.
- DatabaseModel
- This class provides a mapping between entity classes and their corresponding database tables, primary keys, and fields.
- AppointmentDomain
- Represents an appointment domain.
- AppointmentTimeIntervalDomain
- MunicipalityDomain
- Represents a municipality domain.
- ProvinceDomain
- Represents a province domain.
- TimeZoneDomain
- Represents a time zone domain object.
- ExceptionDomain
- Represents an exception domain object.
- MedicalCenterDomain
- Represents a Medical Center domain object.
- MedicalCentersByPostalCodeResponseDomain
- Represents a object with the list of medical centers by postal code.
- AppointmentDurationDomain
- Represents an appointment duration domain object.
- ScheduleDomain
- ScheduleTimeSlotDomain
- AppointmentDurationEntity
- This class represents an entity for appointment durations, extending the BaseEntity class.
- AppointmentEntity
- This class represents an entity for appointments, extending the BaseEntity class.
- BaseEntity
- Abstract class BaseEntity serves as a base for entity classes in the application.
- ExceptionEntity
- This class represents an entity for exceptions, extending the BaseEntity class.
- MedicalCenterEntity
- This class represents an entity for a medical center, extending the BaseEntity class.
- MunicipalityEntity
- This class represents an entity for a municipality, extending the BaseEntity class.
- PostalCodeEntity
- This class represents an entity for postal codes, extending the BaseEntity class.
- ProvinceEntity
- This class represents an entity for provinces, extending the BaseEntity class.
- ScheduleEntity
- This class represents an entity for schedules, extending the BaseEntity class.
- ScheduleTimeSlotEntity
- This class represents an entity for schedule time slots, extending the BaseEntity class.
- TimeZoneEntity
- This class represents an entity for time zones, extending the BaseEntity class.
- DefaultErrorHandler
- A custom error handler class that implements the Slim `ErrorHandlerInterface`.
- BusinessValidationException
- Exception class for business validation errors.
- NotFoundException
- Exception class for not found errors.
- UnhandledException
- Exception class for unhandled exceptions.
- Main
- The main class responsible for initializing the Slim application and running it.
- CorsMiddleware
- Middleware class to add Cross-Origin Resource Sharing (CORS) headers to responses.
- AppointmentDurationRepository
- AppointmentDurationRepository class for working with AppointmentDurationEntity.
- AppointmentRepository
- AppointmentRepository class for working with AppointmentEntity.
- BaseRepository
- BaseRepository class for working with entities implementing EntityInterface.
- ExceptionRepository
- ExceptionRepository class for working with ExceptionEntity.
- MedicalCenterRepository
- MedicalCenterRepository class for working with MedicalCenterEntity.
- MunicipalityRepository
- MunicipalityRepository class for working with MunicipalityEntity.
- ProvinceRepository
- ProvinceRepository class for working with ProvinceEntity.
- ScheduleRepository
- ScheduleRepository class for working with ScheduleEntity.
- ScheduleTimeSlotRepository
- ScheduleTimeSlotRepository class for working with ScheduleTimeSlotEntity.
- TimeZoneRepository
- TimeZoneRepository class for working with TimeZoneEntity.
- AppointmentDurationService
- A class service for working with the logic business of appointment durations.
- AppointmentService
- A class service for working with the logic business of appointments.
- ExceptionService
- A class service for working with the logic business of exceptions (holidays and special days).
- MedicalCenterService
- A class service for working with the logic business of medical centers.
- ScheduleService
- ScheduleService class for working with ScheduleEntity.
- ScheduleTimeSlotService
- A class service for working with the logic business of schedule time slots.
- TimeZoneService
- A class service for working with the logic business of time zones.
- DataTypeUtil
- Class DataTypeUtil
- ExceptionUtil
- ExceptionUtil class provides utility methods for extracting error details from Throwable objects.
Table of Contents
- PROJECT_ROOT = dirname(__DIR__ . '../')
- The path to the project root directory.
Constants
PROJECT_ROOT
The path to the project root directory.
public
mixed
PROJECT_ROOT
= dirname(__DIR__ . '../')