original_string: protected function secondsUntil($delay)
      {
          $delay = $this->parseDateInterval($delay);
  
          return $delay instanceof DateTimeInterface
                              ? max(0, $delay->getTimestamp() - $this->currentTime())
                              : (int) $delay;
      }
code: protected function secondsUntil($delay)
      {
          $delay = $this->parseDateInterval($delay);
  
          return $delay instanceof DateTimeInterface
                              ? max(0, $delay->getTimestamp() - $this->currentTime())
                              : (int) $delay;
      }
code_tokens: protected function secondsUntil ( $ delay ) { $ delay = $ this -> parseDateInterval ( $ delay ) ; return $ delay instanceof DateTimeInterface ? max ( 0 , $ delay -> getTimestamp ( ) - $ this -> currentTime ( ) ) : ( int ) $ delay ; }
docstring: Get the number of seconds until the given DateTime.
  
  @param  \DateTimeInterface|\DateInterval|int  $delay
  @return int
docstring_tokens: Get the number of seconds until the given DateTime .