프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |
메소드 | 설명 | |
---|---|---|
actionIndex ( string $address = 'localhost' ) : integer | Runs PHP built-in web server | |
optionAliases ( ) | ||
options ( $actionID ) |
메소드 | 설명 | |
---|---|---|
isAddressTaken ( string $address ) : boolean |
public actionIndex ( string $address = 'localhost' ) : integer | ||
$address | string | address to serve on. Either "host" or "host:port". |
리턴 | integer |
protected isAddressTaken ( string $address ) : boolean | ||
$address | string | server address |
리턴 | boolean | if address is already in use |