@@ 492-500 (lines=9) @@ | ||
489 | * |
|
490 | * @return \PEIP\INF\Channel\Channel the created channel instance |
|
491 | */ |
|
492 | public function doCreateChannel($config, $defaultChannelClass, array $additionalArguments = []) |
|
493 | { |
|
494 | $id = (string) $config['id']; |
|
495 | if ($id != '') { |
|
496 | array_unshift($additionalArguments, $id); |
|
497 | $channel = $this->buildAndModify($config, $additionalArguments, $defaultChannelClass); |
|
498 | $this->channelRegistry->register($channel); |
|
499 | ||
500 | return $channel; |
|
501 | } |
|
502 | } |
|
503 |
@@ 68-77 (lines=10) @@ | ||
65 | * |
|
66 | * @return \PEIP\INF\Channel\Channel the created channel instance |
|
67 | */ |
|
68 | public function doCreateChannel($config, $defaultChannelClass, array $additionalArguments = []) |
|
69 | { |
|
70 | $id = (string) $config['id']; |
|
71 | if ($id != '') { |
|
72 | array_unshift($additionalArguments, $id); |
|
73 | $channel = $this->buildAndModify($config, $additionalArguments, $defaultChannelClass); |
|
74 | //$this->channelRegistry->register($channel); |
|
75 | ||
76 | return $channel; |
|
77 | } |
|
78 | } |
|
79 | ||
80 | /** |