Kraken\Channel\Extra\Response::__construct PHP Method

__construct() public method

public __construct ( Kraken\Channel\ChannelInterface $channel, Kraken\Channel\Protocol\ProtocolInterface $protocol, string | string[] | Erro\Error | Exceptio\Exception $message, mixed[] $params = [] )
$channel Kraken\Channel\ChannelInterface
$protocol Kraken\Channel\Protocol\ProtocolInterface
$message string | string[] | Erro\Error | Exceptio\Exception
$params mixed[]
    public function __construct($channel, $protocol, $message, $params = [])
    {
        $this->channel = $channel;
        $this->protocol = $protocol;
        $this->message = $message;
        $this->params = $params;
    }