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

init() public method

The runlevel to switch to.
public init ( React\Socket\ConnectionInterface $conn = null, integer $runlevel = ApplicationServerInterface::FULL ) : void
$conn React\Socket\ConnectionInterface The connection resource
$runlevel integer The new runlevel to switch to
return void
    public function init(ConnectionInterface $conn = null, $runlevel = ApplicationServerInterface::FULL);