PHP Class Kraken\Channel\Protocol\Protocol

Inheritance: implements Kraken\Channel\Protocol\ProtocolInterface
Show file Open project: kraken-php/framework Class Usage Examples

Protected Properties

Property Type Description
$destination string
$exception string
$message string
$origin string
$pid string
$timestamp integer
$type string

Public Methods

Method Description
__construct ( string $type = '', string $pid = '', string $destination = '', string $origin = '', string $message = '', string $exception = '', integer $timestamp )
__destruct ( )
getAll ( )
getDestination ( )
getException ( )
getMessage ( )
getOrigin ( )
getPid ( )
getTimestamp ( )
getType ( )
setAll ( $args = [], $reassign = false )
setDestination ( $destination, $reassign = false )
setException ( $exception, $reassign = false )
setMessage ( $message, $reassign = false )
setOrigin ( $origin, $reassign = false )
setPid ( $pid, $reassign = false )
setTimestamp ( $timestamp, $reassign = false )
setType ( $type, $reassign = false )

Method Details

__construct() public method

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

__destruct() public method

public __destruct ( )

getAll() public method

public getAll ( )

getDestination() public method

public getDestination ( )

getException() public method

public getException ( )

getMessage() public method

public getMessage ( )

getOrigin() public method

public getOrigin ( )

getPid() public method

public getPid ( )

getTimestamp() public method

public getTimestamp ( )

getType() public method

public getType ( )

setAll() public method

public setAll ( $args = [], $reassign = false )

setDestination() public method

public setDestination ( $destination, $reassign = false )

setException() public method

public setException ( $exception, $reassign = false )

setMessage() public method

public setMessage ( $message, $reassign = false )

setOrigin() public method

public setOrigin ( $origin, $reassign = false )

setPid() public method

public setPid ( $pid, $reassign = false )

setTimestamp() public method

public setTimestamp ( $timestamp, $reassign = false )

setType() public method

public setType ( $type, $reassign = false )

Property Details

$destination protected property

protected string $destination
return string

$exception protected property

protected string $exception
return string

$message protected property

protected string $message
return string

$origin protected property

protected string $origin
return string

$pid protected property

protected string $pid
return string

$timestamp protected property

protected int $timestamp
return integer

$type protected property

protected string $type
return string