original_string: public function setLifetime($future)
      {
          if (!$future) {
              return;
          }
  
          $interval = $future - $this->now;
          if ($interval > 0 && $interval < $this->getLifetime()) {
              $this->lifetime = $interval;
          }
      }
code: public function setLifetime($future)
      {
          if (!$future) {
              return;
          }
  
          $interval = $future - $this->now;
          if ($interval > 0 && $interval < $this->getLifetime()) {
              $this->lifetime = $interval;
          }
      }
code_tokens: public function setLifetime ( $ future ) { if ( ! $ future ) { return ; } $ interval = $ future - $ this -> now ; if ( $ interval > 0 && $ interval < $ this -> getLifetime ( ) ) { $ this -> lifetime = $ interval ; } }
docstring: Set the cache lifetime programmatically
  
  @param int $future timestamp
docstring_tokens: Set the cache lifetime programmatically