Bånder

ProdStartSwooleCommand extends StartSwooleCommand
in package

Table of Contents

Properties

$description  : mixed
$signature  : mixed

Methods

handle()  : int

Properties

$description

public mixed $description = 'Dump octane server state file. The start-swoole-server script must always be running.'

$signature

public mixed $signature = 'octane:dump-server-state {--host=0.0.0.0 : The IP address the server should bind to} {--port=8000 : The port the server should be available on} {--workers=5 : The number of workers that should be available to handle requests} {--task-workers=2 : The number of task workers that should be available to handle tasks} {--max-requests=500 : The number of requests to process before reloading the server}'

Methods

handle()

public handle(ServerProcessInspector $inspector, ServerStateFile $serverStateFile, SwooleExtension $extension) : int
Parameters
$inspector : ServerProcessInspector
$serverStateFile : ServerStateFile
$extension : SwooleExtension
Return values
int

        
On this page

Search results