| @@ 743-752 (lines=10) @@ | ||
| 740 | * |
|
| 741 | * @return \PEIP\INF\Channel\Channel[] build arguments |
|
| 742 | */ |
|
| 743 | protected function getReplyHandlerArguments($config) |
|
| 744 | { |
|
| 745 | $args = [ |
|
| 746 | $this->doGetChannel('input', $config), |
|
| 747 | $this->doGetChannel('output', $config), |
|
| 748 | ]; |
|
| 749 | if ($args[0] == null) { |
|
| 750 | throw new \RuntimeException('Could not receive input channel.'); |
|
| 751 | } |
|
| 752 | ||
| 753 | return $args; |
|
| 754 | } |
|
| 755 | ||
| @@ 235-244 (lines=10) @@ | ||
| 232 | * |
|
| 233 | * @return mixed build arguments |
|
| 234 | */ |
|
| 235 | protected function getReplyHandlerArguments($config) |
|
| 236 | { |
|
| 237 | $args = [ |
|
| 238 | $this->doGetChannel('input', $config), |
|
| 239 | $this->doGetChannel('output', $config), |
|
| 240 | ]; |
|
| 241 | if ($args[0] == null) { |
|
| 242 | throw new \RuntimeException('Could not receive input channel.'); |
|
| 243 | } |
|
| 244 | ||
| 245 | return $args; |
|
| 246 | } |
|
| 247 | ||