class ServeCommand extends ServerStartCommand

Methods

__construct(Application $application)

No description

int
execute(InputInterface $input, OutputInterface $output)

Execute the console command.

void
configure()

Configure the server start command.

int
startServer(InputInterface $input)

Start the configured Swoole servers.

array
getHostAndPort(string $host)

Get the host and optional port from the host option.

Details

in ServerStartCommand at line 35
__construct(Application $application)

No description

Parameters

Application $application

at line 28
protected int execute(InputInterface $input, OutputInterface $output)

Execute the console command.

Parameters

InputInterface $input
OutputInterface $output

Return Value

int

in ServerStartCommand at line 53
protected void configure()

Configure the server start command.

Return Value

void

in ServerStartCommand at line 64
protected int startServer(InputInterface $input)

Start the configured Swoole servers.

Parameters

InputInterface $input

Return Value

int

in ServerStartCommand at line 156
protected array getHostAndPort(string $host)

Get the host and optional port from the host option.

Parameters

string $host

Return Value

array