Kraken\Runtime\Container\Manager\ProcessManagerRemote::__construct PHP Method

__construct() public method

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