Menu

## StartServer extends BaseCommand
in package

StartServer.php : 17

For starting the command line server. This should be good choice only in development

##### Tags

author

  Jet - ezrajet9@gmail.com

### Table of Contents

#### Properties

$description : string
$name : string
$title : string
$command : array<string|int, mixed>

#### Methods

__construct() : mixed
configure() : void
connection() : Database
  Returns the current database connection
execute() : int
port() : int

### Properties

#### $description

StartServer.php : 20
`protected static string $description = 'serve'`

#### $name

StartServer.php : 21
`protected static string $name = 'serve'`

#### $title

StartServer.php : 19
`protected static string $title = 'Start Server'`

#### $command

StartServer.php : 23
`private array<string|int, mixed> $command = ['php', '-S']`

### Methods

#### __construct()

BaseCommand.php : 18
`public __construct([string|null $name = null ]) : mixed`

##### Parameters

$name : string|null = null

#### configure()

StartServer.php : 33
`protected configure() : void`

#### connection()

BaseCommand.php : 32

Returns the current database connection

`protected static connection([string|null $db = null ]) : Database`

##### Parameters

$db : string|null = null

##### Tags

throws
  Exception
author

  Jet - ezrajet9@gmail.com

##### Return values

Database

#### execute()

StartServer.php : 43
`protected execute(InputInterface $input, OutputInterface $output) : int`

##### Parameters

$input : InputInterface
$output : OutputInterface

##### Return values

int

#### port()

StartServer.php : 25
`private port() : int`

##### Return values

int

## Search results