original_string: public function display(string $key, array $data, int $status = RegularResponse::HTTP_OK): ResponseInterface
      {
          $content = $this->templateStrategy->render($key, $data);
  
          $this->responseStrategy->setContent($content);
          $this->responseStrategy->setStatusCode($status);
          return $this->responseStrategy;
      }
code: public function display(string $key, array $data, int $status = RegularResponse::HTTP_OK): ResponseInterface
      {
          $content = $this->templateStrategy->render($key, $data);
  
          $this->responseStrategy->setContent($content);
          $this->responseStrategy->setStatusCode($status);
          return $this->responseStrategy;
      }
code_tokens: public function display ( string $ key , array $ data , int $ status = RegularResponse :: HTTP_OK ) : ResponseInterface { $ content = $ this -> templateStrategy -> render ( $ key , $ data ) ; $ this -> responseStrategy -> setContent ( $ content ) ; $ this -> responseStrategy -> setStatusCode ( $ status ) ; return $ this -> responseStrategy ; }
docstring: Make templating and give the response
  @param string $key
  @param array $data
  @param int $status
  @return RegularResponse
docstring_tokens: Make templating and give the response