Kraken\_Unit\Channel\Protocol\ProtocolTest::createProtocol PHP Method

createProtocol() public method

public createProtocol ( string $type = '', string $pid = '', string $destination = '', string $origin = '', string $message = '', string $exception = '', integer $timestamp ) : Protocol
$type string
$pid string
$destination string
$origin string
$message string
$exception string
$timestamp integer
return Kraken\Channel\Protocol\Protocol
    public function createProtocol($type = '', $pid = '', $destination = '', $origin = '', $message = '', $exception = '', $timestamp = 0)
    {
        return new Protocol($type, $pid, $destination, $origin, $message, $exception, $timestamp);
    }
ProtocolTest