original_string: public function handleRequest(ServerRequestInterface $request)
      {
          $applicationEvent = $this->getApplicationEvent();
          $applicationEvent->setName(self::EVENT_REQUEST_RECEIVED);
          $this->emit($applicationEvent, $request);
  
          return $applicationEvent->getRequest();
      }
code: public function handleRequest(ServerRequestInterface $request)
      {
          $applicationEvent = $this->getApplicationEvent();
          $applicationEvent->setName(self::EVENT_REQUEST_RECEIVED);
          $this->emit($applicationEvent, $request);
  
          return $applicationEvent->getRequest();
      }
code_tokens: public function handleRequest ( ServerRequestInterface $ request ) { $ applicationEvent = $ this -> getApplicationEvent ( ) ; $ applicationEvent -> setName ( self :: EVENT_REQUEST_RECEIVED ) ; $ this -> emit ( $ applicationEvent , $ request ) ; return $ applicationEvent -> getRequest ( ) ; }
docstring: Convert request into response.
  
  @param ServerRequestInterface $request
  @return ServerRequestInterface
docstring_tokens: Convert request into response .