ProdStartSwooleCommand
extends StartSwooleCommand
Table of Contents
Properties
-
$description
: mixed
-
$signature
: mixed
Methods
-
handle()
: int
$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}'
handle()
public
handle(ServerProcessInspector $inspector, ServerStateFile $serverStateFile, SwooleExtension $extension) : int
Parameters
-
$inspector
: ServerProcessInspector
-
-
$serverStateFile
: ServerStateFile
-
-
$extension
: SwooleExtension
-