8 class Ngrok
implements Controller
12 function __construct(Config
$config) {
13 $this->config
= $config;
16 function __invoke(array $args = null) {
17 system($this->config
->ngrok
->command
. " ". implode(" ", array_map("escapeshellarg", [
19 "--subdomain=pharext",
22 $this->config
->ngrok
->auth
->token
,
24 $this->config
->ngrok
->auth
->user
.":". $this->config
->ngrok
->auth
->pass
,