1 | <?php |
||
13 | class OutgoingPhysicalToDispatchConnector implements StageConnectorInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var OutgoingContextFactory |
||
17 | */ |
||
18 | private $contextFactory; |
||
19 | |||
20 | /** |
||
21 | * @var DateTimeConverter |
||
22 | */ |
||
23 | private $dateTimeConverter; |
||
24 | |||
25 | /** |
||
26 | * @var ClockInterface |
||
27 | */ |
||
28 | private $clock; |
||
29 | |||
30 | /** |
||
31 | * |
||
32 | * @param OutgoingContextFactory $contextFactory |
||
33 | * @param DateTimeConverter $dateTimeConverter |
||
34 | * @param ClockInterface $clock |
||
35 | */ |
||
36 | 5 | public function __construct( |
|
45 | |||
46 | /** |
||
47 | * @param OutgoingPhysicalMessageContext $context |
||
48 | * @param callable $next |
||
49 | */ |
||
50 | 2 | public function invoke($context, callable $next) |
|
72 | |||
73 | /** |
||
74 | * @return string |
||
75 | */ |
||
76 | 1 | public static function getStageContextClass() |
|
80 | |||
81 | /** |
||
82 | * @return string |
||
83 | */ |
||
84 | 1 | public static function getNextStageContextClass() |
|
88 | } |
||
89 |