original_string: public function setCacheHeaders()
      {
          $cacheTime = 31536000; // 1 year
          $this->getHeaders()
              ->set('Expires', gmdate('D, d M Y H:i:s', time() + $cacheTime) . ' GMT')
              ->set('Pragma', 'cache')
              ->set('Cache-Control', 'max-age=' . $cacheTime);
  
          return $this;
      }
code: public function setCacheHeaders()
      {
          $cacheTime = 31536000; // 1 year
          $this->getHeaders()
              ->set('Expires', gmdate('D, d M Y H:i:s', time() + $cacheTime) . ' GMT')
              ->set('Pragma', 'cache')
              ->set('Cache-Control', 'max-age=' . $cacheTime);
  
          return $this;
      }
code_tokens: public function setCacheHeaders ( ) { $ cacheTime = 31536000 ; // 1 year $ this -> getHeaders ( ) -> set ( 'Expires' , gmdate ( 'D, d M Y H:i:s' , time ( ) + $ cacheTime ) . ' GMT' ) -> set ( 'Pragma' , 'cache' ) -> set ( 'Cache-Control' , 'max-age=' . $ cacheTime ) ; return $ this ; }
docstring: Sets headers that will instruct the client to cache this response.
  
  @return static self reference
docstring_tokens: Sets headers that will instruct the client to cache this response .