<?php
namespace Bookaro\Controller\Admin\Settings;

defined( 'ABSPATH' ) || exit;

final class SettingsTabRegistry
{
    /**
     * @return SettingsTabInterface[]
     */
    public static function build( array $context ): array
    {
        $tabs = [
            new GeneralTab( $context ),
            new AppearanceTab( $context ),
            new NotificationsTab( $context ),
            new RolesTab( $context ),
            new ShortcodesTab( $context ),
        ];

        // Pro feature tabs (Custom Forms, Staff, Payments, Messages, Google
        // Calendar, Webhooks, Reports, Exports) are provided by the separate
        // MyBookaro Pro plugin. Lite intentionally ships no locked/disabled
        // placeholders for them — see the "Lite vs Pro" page for what Pro adds.
        return apply_filters( 'bookaro_settings_tabs', $tabs, $context );
    }
}
