Kraken\Channel\Protocol\Protocol::__construct PHP Метод

__construct() публичный Метод

public __construct ( string $type = '', string $pid = '', string $destination = '', string $origin = '', string $message = '', string $exception = '', integer $timestamp )
$type string
$pid string
$destination string
$origin string
$message string
$exception string
$timestamp integer
    public function __construct($type = '', $pid = '', $destination = '', $origin = '', $message = '', $exception = '', $timestamp = 0)
    {
        $this->type = $type;
        $this->pid = $pid;
        $this->destination = $destination;
        $this->origin = $origin;
        $this->message = $message;
        $this->exception = $exception;
        $this->timestamp = $timestamp;
    }