Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Kraken
Channel
Protocol
ProtocolInterface
setPid
Kraken\Channel\Protocol\ProtocolInterface::setPid PHP Method
ProtocolInterface Interface Documentation
Show file
Open project: kraken-php/framework
setPid()
public
method
This method sets ID only if it was not set already. To force replacement $reassing flag needs to be set to true.
public
setPid
(
string
$pid
,
boolean
$reassign
= false ) :
Kraken\Channel\Protocol\ProtocolInterface
$pid
string
$reassign
boolean
return
Kraken\Channel\Protocol\ProtocolInterface
public function setPid($pid, $reassign = false);
ProtocolInterface
getAll
getDestination
getException
getMessage
getOrigin
getPid
getTimestamp
getType
setAll
setDestination
setException
setMessage
setOrigin
setPid
setTimestamp
setType