class ServeCommand extends Command

Runs built-in PHP server.

More information can be found here.

Methods

void
configure()

Configures the command.

int
execute(InputInterface $input, OutputInterface $output)

Executes the command

Details

at line 19
protected void configure()

Configures the command.

Return Value

void

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

Executes the command

Parameters

InputInterface $input

The input.

OutputInterface $output

The output.

Return Value

int

A value that indicates success, invalid, or failure.