original_string: public function withCache($since, $time = '+1 day')
      {
          if (!is_int($time)) {
              $time = strtotime($time);
          }
  
          return $this->withHeader('Date', gmdate('D, j M Y G:i:s ', time()) . 'GMT')
              ->withModified($since)
              ->withExpires($time)
              ->withSharable(true)
              ->withMaxAge($time - time());
      }
code: public function withCache($since, $time = '+1 day')
      {
          if (!is_int($time)) {
              $time = strtotime($time);
          }
  
          return $this->withHeader('Date', gmdate('D, j M Y G:i:s ', time()) . 'GMT')
              ->withModified($since)
              ->withExpires($time)
              ->withSharable(true)
              ->withMaxAge($time - time());
      }
code_tokens: public function withCache ( $ since , $ time = '+1 day' ) { if ( ! is_int ( $ time ) ) { $ time = strtotime ( $ time ) ; } return $ this -> withHeader ( 'Date' , gmdate ( 'D, j M Y G:i:s ' , time ( ) ) . 'GMT' ) -> withModified ( $ since ) -> withExpires ( $ time ) -> withSharable ( true ) -> withMaxAge ( $ time - time ( ) ) ; }
docstring: Create a new instance with the headers to enable client caching.
  
  @param string $since a valid time since the response text has not been modified
  @param string $time a valid time for cache expiry
  @return static
docstring_tokens: Create a new instance with the headers to enable client caching .