| 1 | <?php |
||
| 17 | class QueryMiddleware implements Middleware |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var QueryDispatcher |
||
| 21 | */ |
||
| 22 | private $dispatcher; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param QueryDispatcher $dispatcher |
||
| 26 | */ |
||
| 27 | 2 | public function __construct(QueryDispatcher $dispatcher) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @param mixed $message |
||
| 34 | * @param callable $next |
||
| 35 | * |
||
| 36 | * @return mixed |
||
| 37 | */ |
||
| 38 | 2 | public function handle($message, callable $next) |
|
| 46 | } |
||
| 47 |