Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | /** |
| 3 | * Pop PHP Framework (https://www.popphp.org/) |
| 4 | * |
| 5 | * @link https://github.com/popphp/popphp-framework |
| 6 | * @author Nick Sagona, III <dev@noladev.com> |
| 7 | * @copyright Copyright (c) 2009-2026 NOLA Interactive, LLC. |
| 8 | * @license https://www.popphp.org/license New BSD License |
| 9 | */ |
| 10 | |
| 11 | /** |
| 12 | * @namespace |
| 13 | */ |
| 14 | namespace Pop\Middleware; |
| 15 | |
| 16 | /** |
| 17 | * Middleware interface |
| 18 | * |
| 19 | * @category Pop |
| 20 | * @package Pop |
| 21 | * @author Nick Sagona, III <dev@noladev.com> |
| 22 | * @copyright Copyright (c) 2009-2026 NOLA Interactive, LLC. |
| 23 | * @license https://www.popphp.org/license New BSD License |
| 24 | * @version 4.4.0 |
| 25 | */ |
| 26 | interface MiddlewareInterface |
| 27 | { |
| 28 | |
| 29 | /** |
| 30 | * Process middleware |
| 31 | * |
| 32 | * @param mixed $request |
| 33 | * @param \Closure $next |
| 34 | * @return mixed |
| 35 | */ |
| 36 | public function handle(mixed $request, \Closure $next): mixed; |
| 37 | |
| 38 | } |