Kraken\Console\Client\Command\Command::__construct PHP Method

__construct() public method

public __construct ( Kraken\Channel\ChannelInterface $channel, string $receiver )
$channel Kraken\Channel\ChannelInterface
$receiver string
    public function __construct(ChannelInterface $channel, $receiver)
    {
        parent::__construct(null);
        $this->channel = $channel;
        $this->receiver = $receiver;
        $this->async = true;
        $this->construct();
    }