File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,21 @@ public function __construct() {
16
16
$ this ->key = getenv ("BROWSERSTACK_ACCESS_KEY " );
17
17
$ this ->logfile = getcwd () . "/local.log " ;
18
18
$ this ->user_args = array ();
19
+ $ this ->binary_path = "" ;
20
+ $ this ->folder_flag = "" ;
21
+ $ this ->folder_path = "" ;
22
+ $ this ->force_local_flag = "" ;
23
+ $ this ->local_identifier_flag = "" ;
24
+ $ this ->only_flag = "" ;
25
+ $ this ->only_automate_flag = "" ;
26
+ $ this ->proxy_host = "" ;
27
+ $ this ->proxy_port = "" ;
28
+ $ this ->proxy_user = "" ;
29
+ $ this ->proxy_pass = "" ;
30
+ $ this ->force_proxy_flag = "" ;
31
+ $ this ->force_flag = "" ;
32
+ $ this ->verbose_flag = "" ;
33
+ $ this ->hosts = "" ;
19
34
}
20
35
21
36
public function __destruct () {
@@ -113,8 +128,10 @@ public function start($arguments) {
113
128
}
114
129
115
130
public function stop () {
131
+ if (!$ this ->pid ) return ;
116
132
$ call = $ this ->stop_command ();
117
133
shell_exec ("$ call " );
134
+ $ this ->pid = null ;
118
135
}
119
136
120
137
public function start_command () {
You can’t perform that action at this time.
0 commit comments