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() {
1616 $ this ->key = getenv ("BROWSERSTACK_ACCESS_KEY " );
1717 $ this ->logfile = getcwd () . "/local.log " ;
1818 $ 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 = "" ;
1934 }
2035
2136 public function __destruct () {
@@ -113,8 +128,10 @@ public function start($arguments) {
113128 }
114129
115130 public function stop () {
131+ if (!$ this ->pid ) return ;
116132 $ call = $ this ->stop_command ();
117133 shell_exec ("$ call " );
134+ $ this ->pid = null ;
118135 }
119136
120137 public function start_command () {
You can’t perform that action at this time.
0 commit comments