public __construct ( Kraken\Runtime\RuntimeContainerInterface $runtime, Kraken\Channel\ChannelInterface $channel, $receiver = null ) | ||
$runtime | Kraken\Runtime\RuntimeContainerInterface | |
$channel | Kraken\Channel\ChannelInterface |
public function __construct(RuntimeContainerInterface $runtime, ChannelInterface $channel, $receiver = null)
{
$this->runtime = $runtime;
$this->channel = $channel;
$this->receiver = $receiver !== null ? $receiver : $runtime->getParent();
}