AppserverIo\Appserver\Core\Interfaces\ApplicationServerInterface::mode PHP Method

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);