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
Runtime
RuntimeModelInterface
setState
Kraken\Runtime\RuntimeModelInterface::setState PHP Method
RuntimeModelInterface Interface Documentation
Show file
Open project: kraken-php/framework
setState()
public
method
The state might be one of: Runtime::STATE_CREATED Runtime::STATE_STARTED Runtime::STATE_STOPPED Runtime::STATE_DESTROYED
public
setState
(
integer
$state
)
$state
integer
public function setState($state);
RuntimeModelInterface
create
destroy
fail
getHash
getState
isCreated
isDestroyed
isFailed
isStarted
isState
isStopped
setState
start
state
stop
succeed