You've already forked php-flasher
mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-04-05 12:32:55 +01:00
17 lines
288 B
PHP
17 lines
288 B
PHP
<?php
|
|
|
|
namespace Flasher\Prime\Middleware;
|
|
|
|
use Flasher\Prime\Envelope;
|
|
|
|
interface MiddlewareInterface
|
|
{
|
|
/**
|
|
* @param Envelope $envelope
|
|
* @param callable $next
|
|
*
|
|
* @return Envelope
|
|
*/
|
|
public function handle(Envelope $envelope, callable $next);
|
|
}
|