original_string: protected function tryOutputImage()
      {
          if (is_file($this->data_cached_file)) {
  
              $this->response->addHeader('Last-Modified', gmdate('D, d M Y H:i:s T', filemtime($this->data_cached_file)))
                  ->addHeader('Content-Length', filesize($this->data_cached_file))
                  ->addHeader('Content-type', mime_content_type($this->data_cached_file))
                  ->sendHeaders();
  
              readfile($this->data_cached_file);
              exit;
          }
      }
code: protected function tryOutputImage()
      {
          if (is_file($this->data_cached_file)) {
  
              $this->response->addHeader('Last-Modified', gmdate('D, d M Y H:i:s T', filemtime($this->data_cached_file)))
                  ->addHeader('Content-Length', filesize($this->data_cached_file))
                  ->addHeader('Content-type', mime_content_type($this->data_cached_file))
                  ->sendHeaders();
  
              readfile($this->data_cached_file);
              exit;
          }
      }
code_tokens: protected function tryOutputImage ( ) { if ( is_file ( $ this -> data_cached_file ) ) { $ this -> response -> addHeader ( 'Last-Modified' , gmdate ( 'D, d M Y H:i:s T' , filemtime ( $ this -> data_cached_file ) ) ) -> addHeader ( 'Content-Length' , filesize ( $ this -> data_cached_file ) ) -> addHeader ( 'Content-type' , mime_content_type ( $ this -> data_cached_file ) ) -> sendHeaders ( ) ; readfile ( $ this -> data_cached_file ) ; exit ; } }
docstring: Try to output existing image
docstring_tokens: Try to output existing image