Total Complexity | 5 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
8 | final class Bus implements BusInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var callable |
||
12 | */ |
||
13 | private $deliveryChain; |
||
14 | |||
15 | public static function fromMiddlewareList(MiddlewareInterface ...$middlewareList): self |
||
27 | } |
||
28 | |||
29 | 2 | private function __construct(callable $deliveryChain) |
|
32 | 2 | } |
|
33 | |||
34 | 2 | public function deliver(MessageInterface...$messageList): void |
|
42 |