xtlsoft/XPHP

View on GitHub
Lib/X/Interfaces/Middleware.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
    /**
     * XPHP - PHP Framework
     * 
     * This project is licensed
     * under MIT. Please use it
     * under the license and law.
     * 
     * @category Framework
     * @package  XPHP
     * @author   Tianle Xu <xtl@xtlsoft.top>
     * @license  MIT
     * @link     https://github.com/xtlsoft/XPHP
     * 
     */

    namespace X\Interfaces;

    interface Middleware {

        public function handle($event, \X\Request $request);
        public function response($event, \X\Response $response);

    }