original_string: public function process(\SS_HTTPRequest $request)
      {
          if ($identifier = $request->param('ID')) {
              if ($this->currencyService->setActiveCurrency(new Identifier($identifier))) {
                  return [
                      'Success' => true
                  ];
              }
          }
  
          return [
              'Success' => false
          ];
      }
code: public function process(\SS_HTTPRequest $request)
      {
          if ($identifier = $request->param('ID')) {
              if ($this->currencyService->setActiveCurrency(new Identifier($identifier))) {
                  return [
                      'Success' => true
                  ];
              }
          }
  
          return [
              'Success' => false
          ];
      }
code_tokens: public function process ( \ SS_HTTPRequest $ request ) { if ( $ identifier = $ request -> param ( 'ID' ) ) { if ( $ this -> currencyService -> setActiveCurrency ( new Identifier ( $ identifier ) ) ) { return [ 'Success' => true ] ; } } return [ 'Success' => false ] ; }
docstring: Method to determine how to handle the request.
  Uses the currency service to set the active currency
  @param  \SS_HTTPRequest $request
  @return array
docstring_tokens: Method to determine how to handle the request . Uses the currency service to set the active currency