original_string: public function createStreamingResponse($filePath, $fileName, $type = 'application/octet-stream')
      {
          $response = new StreamedResponse();
          $this->setStreamCallBack($response, $filePath);
          $this->setStreamHeaders($response, $fileName, $type);
  
          return $response;
      }
code: public function createStreamingResponse($filePath, $fileName, $type = 'application/octet-stream')
      {
          $response = new StreamedResponse();
          $this->setStreamCallBack($response, $filePath);
          $this->setStreamHeaders($response, $fileName, $type);
  
          return $response;
      }
code_tokens: public function createStreamingResponse ( $ filePath , $ fileName , $ type = 'application/octet-stream' ) { $ response = new StreamedResponse ( ) ; $ this -> setStreamCallBack ( $ response , $ filePath ) ; $ this -> setStreamHeaders ( $ response , $ fileName , $ type ) ; return $ response ; }
docstring: Handles creating a streaming response for the given file path and uses the given file name
  
  @param        $filePath
  @param        $fileName
  @param string $type
  @return StreamedResponse
docstring_tokens: Handles creating a streaming response for the given file path and uses the given file name