<?php
/**
 * Middleware Interface (Base Abstraction)
 *
 * @package ZenoChatbot\Framework\Http\Middleware
 */

namespace ZenoChatbot\Framework\Http\Middleware;

use ZenoChatbot\Framework\Http\Request;
use Closure;

// Prevent direct access
if (!defined('ABSPATH')) {
    exit;
}

/**
 * Base interface for HTTP middleware (for future use)
 *
 * This interface provides the foundation for middleware implementation
 * when needed in the future. Currently not actively used.
 */
interface MiddlewareInterface
{
    /**
     * Handle an incoming request
     *
     * @param Request $request
     * @param Closure $next
     * @return mixed
     */
    public function handle(Request $request, Closure $next);
}
