class ServeCommand extends ServeCommand

Properties

protected NgrokProcessBuilder $processBuilder Process builder.
protected NgrokWebService $webService Web service.
protected Variable $variable Netflex Proxy Configuration Variable
protected object $configuration Netflex Proxy Configuration
protected int $userId Netflex User ID
protected Client $userClient Netflex Client authenticated as User
protected ProgressBar $progressBar Progressbar
protected string $credentialsFile The file holding the Netflex credentials

Methods

string
port()

Get the port for the command.

region()

No description

client()

No description

userId()

No description

siteAlias()

No description

variable()

No description

proxyConfiguration()

No description

addProxy($uri)

No description

removeProxy()

No description

saveProxyConfiguration($configuration)

No description

deleteCredentials()

No description

promptCredentials(Closure $callback)

No description

int
handle()

Execute the console command.

array
getOptions()

Get the console command options.

Details

at line 87
protected string port()

Get the port for the command.

Return Value

string

at line 94
protected region()

at line 99
protected client()

at line 130
protected userId()

at line 151
protected siteAlias()

at line 156
protected variable()

at line 167
protected proxyConfiguration()

at line 184
protected addProxy($uri)

Parameters

$uri

at line 200
protected removeProxy()

at line 212
protected saveProxyConfiguration($configuration)

Parameters

$configuration

at line 233
protected deleteCredentials()

at line 242
protected promptCredentials(Closure $callback)

Parameters

Closure $callback

at line 267
int handle()

Execute the console command.

Return Value

int

Exceptions

Exception

at line 389
protected array getOptions()

Get the console command options.

Return Value

array