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
AppserverIo
Appserver
Core
Interfaces
ApplicationServerInterface
mode
AppserverIo\Appserver\Core\Interfaces\ApplicationServerInterface::mode PHP Method
ApplicationServerInterface Interface Documentation
Show file
Open project: appserver-io/appserver
mode()
public
method
Switch to the passed mode, which can either be 'dev', 'prod' or 'install'.
public
mode
(
React\Socket\ConnectionInterface
$conn
,
string
$mode
) :
void
$conn
React\Socket\ConnectionInterface
The connection resource
$mode
string
The setup mode to switch to
return
void
public function mode(ConnectionInterface $conn, $mode);
ApplicationServerInterface
init
keepRunning
mode
runlevelToString