ServeCommand
class ServeCommand extends ServerStartCommand
Methods
int
execute(InputInterface $input, OutputInterface $output)
Execute the console command.
array
getHostAndPort(string $host)
Get the host and optional port from the host option.
from
ServerStartCommand
Details
in
ServerStartCommand at line 35
__construct(Application $application)
No description
at line 28
protected int
execute(InputInterface $input, OutputInterface $output)
Execute the console command.
in
ServerStartCommand at line 53
protected void
configure()
Configure the server start command.
in
ServerStartCommand at line 64
protected int
startServer(InputInterface $input)
Start the configured Swoole servers.
in
ServerStartCommand at line 156
protected array
getHostAndPort(string $host)
Get the host and optional port from the host option.