original_string: protected function execute($request_method, $url, $parameters = null)
  	{
  		$extra_options = array(
  			CURLOPT_HTTPAUTH => CURLAUTH_BASIC,
  			CURLOPT_USERPWD => $this->_apiUsername . ':' . $this->_apiKey,
  		);
  
  		$url = 'https://www.browserstack.com/automate/' . $url;
  
  		list($raw_results,) = $this->_curlService->execute($request_method, $url, $parameters, $extra_options);
  
  		return json_decode($raw_results, true);
  	}
code: protected function execute($request_method, $url, $parameters = null)
  	{
  		$extra_options = array(
  			CURLOPT_HTTPAUTH => CURLAUTH_BASIC,
  			CURLOPT_USERPWD => $this->_apiUsername . ':' . $this->_apiKey,
  		);
  
  		$url = 'https://www.browserstack.com/automate/' . $url;
  
  		list($raw_results,) = $this->_curlService->execute($request_method, $url, $parameters, $extra_options);
  
  		return json_decode($raw_results, true);
  	}
code_tokens: protected function execute ( $ request_method , $ url , $ parameters = null ) { $ extra_options = array ( CURLOPT_HTTPAUTH => CURLAUTH_BASIC , CURLOPT_USERPWD => $ this -> _apiUsername . ':' . $ this -> _apiKey , ) ; $ url = 'https://www.browserstack.com/automate/' . $ url ; list ( $ raw_results , ) = $ this -> _curlService -> execute ( $ request_method , $ url , $ parameters , $ extra_options ) ; return json_decode ( $ raw_results , true ) ; }
docstring: Execute BrowserStack REST API command.
  
  @param string $request_method HTTP request method.
  @param string $url            URL.
  @param mixed  $parameters     Parameters.
  
  @return mixed
  @see    http://www.browserstack.com/automate/rest-api
docstring_tokens: Execute BrowserStack REST API command .