code: public function processRequest(array $request)
      {
          $responseCollection = new ResponseCollection();
          if ($this->isBatchedRequest($request)) {
              foreach ($request as $singleRequest) {
                  $responseCollection->add($this->process($singleRequest));
              }
          } else {
              $responseCollection->add($this->process($request));
          }
          $this->setResponse($responseCollection);
      }
docs: request processing
  
  @param array $request the ext direct request as array
  
  @return void