Property | Type | Description | |
---|---|---|---|
$docroot | path or path alias to directory to serve | ||
$port | port to serve on. | ||
$router | path to router script. See https://secure.php.net/manual/en/features.commandline.webserver.php |
Method | Description | |
---|---|---|
actionIndex ( string $address = 'localhost' ) : integer | Runs PHP built-in web server | |
optionAliases ( ) | ||
options ( $actionID ) |
Method | Description | |
---|---|---|
isAddressTaken ( string $address ) : boolean |
public actionIndex ( string $address = 'localhost' ) : integer | ||
$address | string | address to serve on. Either "host" or "host:port". |
return | integer |
protected isAddressTaken ( string $address ) : boolean | ||
$address | string | server address |
return | boolean | if address is already in use |