original_string: public function isDateWillComeIn($interval)
      {
          if (!($interval instanceof \DateInterval)) {
              $interval = new \DateInterval((string) $interval);
          }
          $now = new \DateTime('now');
          return 0 === $this->diff($now->add($interval))->invert;
      }
code: public function isDateWillComeIn($interval)
      {
          if (!($interval instanceof \DateInterval)) {
              $interval = new \DateInterval((string) $interval);
          }
          $now = new \DateTime('now');
          return 0 === $this->diff($now->add($interval))->invert;
      }
code_tokens: public function isDateWillComeIn ( $ interval ) { if ( ! ( $ interval instanceof \ DateInterval ) ) { $ interval = new \ DateInterval ( ( string ) $ interval ) ; } $ now = new \ DateTime ( 'now' ) ; return 0 === $ this -> diff ( $ now -> add ( $ interval ) ) -> invert ; }
docstring: Return TRUE if this date will come in a given interval
  
  @param \DateInterval|string $interval DateInterval or string interval specification
  
  @return bool
  
  @link  http://php.net/DateInterval
  
  @since 1.1
docstring_tokens: Return TRUE if this date will come in a given interval