original_string: public function isDue(\DateTime $date = null)
      {
          // The execution time is being defaulted if not defined
          if (!$this->executionTime) {
              $this->at('* * * * *');
          }
  
          $date = $date ?? $this->creationTime;
  
          return $this->executionTime->isDue($date);
      }
code: public function isDue(\DateTime $date = null)
      {
          // The execution time is being defaulted if not defined
          if (!$this->executionTime) {
              $this->at('* * * * *');
          }
  
          $date = $date ?? $this->creationTime;
  
          return $this->executionTime->isDue($date);
      }
code_tokens: public function isDue ( \ DateTime $ date = null ) { // The execution time is being defaulted if not defined if ( ! $ this -> executionTime ) { $ this -> at ( '* * * * *' ) ; } $ date = $ date ?? $ this -> creationTime ; return $ this -> executionTime -> isDue ( $ date ) ; }
docstring: Check if the Job is due to run.
  It accepts as input a DateTime used to check if
  the job is due. Defaults to job creation time.
  It also default the execution time if not previously defined.
  
  @param  \DateTime $date
  @return bool
docstring_tokens: Check if the Job is due to run . It accepts as input a DateTime used to check if the job is due . Defaults to job creation time . It also default the execution time if not previously defined .