original_string: public function getJobExpiration($job)
      {
          if (! method_exists($job, 'retryUntil') && ! isset($job->timeoutAt)) {
              return;
          }
  
          $expiration = $job->timeoutAt ?? $job->retryUntil();
  
          return $expiration instanceof DateTimeInterface
                          ? $expiration->getTimestamp() : $expiration;
      }
code: public function getJobExpiration($job)
      {
          if (! method_exists($job, 'retryUntil') && ! isset($job->timeoutAt)) {
              return;
          }
  
          $expiration = $job->timeoutAt ?? $job->retryUntil();
  
          return $expiration instanceof DateTimeInterface
                          ? $expiration->getTimestamp() : $expiration;
      }
code_tokens: public function getJobExpiration ( $ job ) { if ( ! method_exists ( $ job , 'retryUntil' ) && ! isset ( $ job -> timeoutAt ) ) { return ; } $ expiration = $ job -> timeoutAt ?? $ job -> retryUntil ( ) ; return $ expiration instanceof DateTimeInterface ? $ expiration -> getTimestamp ( ) : $ expiration ; }
docstring: Get the expiration timestamp for an object-based queue handler.
  
  @param  mixed  $job
  @return mixed
docstring_tokens: Get the expiration timestamp for an object - based queue handler .