Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Kraken
Channel
Protocol
ProtocolInterface
setOrigin
Kraken\Channel\Protocol\ProtocolInterface::setOrigin PHP Метод
Документация по интерфейсу ProtocolInterface
Показать файл
Открыть проект
setOrigin()
публичный
Метод
This method sets origin only if it was not set already. To force replacement $reassing flag needs to be set to true.
public
setOrigin
(
string
$origin
,
boolean
$reassign
= false ) :
Kraken\Channel\Protocol\ProtocolInterface
$origin
string
$reassign
boolean
Результат
Kraken\Channel\Protocol\ProtocolInterface
public function setOrigin($origin, $reassign = false);
ProtocolInterface
getAll
getDestination
getException
getMessage
getOrigin
getPid
getTimestamp
getType
setAll
setDestination
setException
setMessage
setOrigin
setPid
setTimestamp
setType