Table of Contents
-
$host
: string
-
$port
: int
-
__construct()
: mixed
-
isPortAvailable()
: mixed
-
getAvailablePort()
: int
-
isValidHost()
: bool
-
isValidPort()
: bool
-
parseArg()
: mixed
$host
private
string
$host
= "127.0.0.1"
$port
private
int
$port
= 8000
__construct()
public
__construct([mixed $arg1 = null ][, mixed $arg2 = null ]) : mixed
Parameters
-
$arg1
: mixed
= null
-
-
$arg2
: mixed
= null
-
Return values
mixed
—
isPortAvailable()
public
isPortAvailable(mixed $port) : mixed
Parameters
-
$port
: mixed
-
Return values
mixed
—
getAvailablePort()
private
getAvailablePort() : int
Return values
int
—
isValidHost()
private
isValidHost(mixed $host) : bool
Parameters
-
$host
: mixed
-
Return values
bool
—
isValidPort()
private
isValidPort(mixed $port) : bool
Parameters
-
$port
: mixed
-
Return values
bool
—
parseArg()
private
parseArg(mixed $arg) : mixed
Parameters
-
$arg
: mixed
-
Return values
mixed
—