<?php
/**
 * Custom post types compatibility bridge for Noesia Smart Waiter.
 *
 * CPT ownership has moved to module-local bootstraps:
 * - modules/free/design/includes/class-noesia-swa-module-design-cpt.php
 * - modules/free/appointments/includes/class-noesia-swa-module-appointments-cpt.php
 * - modules/free/reminders/includes/class-noesia-swa-module-reminders-cpt.php
 *
 * This legacy class remains only so existing bootstrap code that instantiates
 * Noesia_SWA_CPT does not fatal. It no longer registers module-owned CPTs.
 *
 * @package Noesia_Smart_Waiter
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

if ( ! class_exists( 'Noesia_SWA_CPT' ) ) {
    /**
     * Legacy CPT bridge.
     */
    class Noesia_SWA_CPT {

        /**
         * Constructor kept for backward compatibility.
         *
         * Module-owned CPTs are now registered inside their own modules.
         */
        public function __construct() {
            // Intentionally empty.
        }

        /**
         * Legacy no-op method kept for backward compatibility.
         *
         * @return void
         */
        public function register_cpt() {
            // Intentionally empty.
        }
    }
}
