original_string: public function delete(JobInterface $job)
      {
          if ($job->isRunOnce()) {
              $this->getCache()->delete(self::CACHE_JOB.get_class($job));
          }
          return $job->getBeanstalkJob()->delete();
      }
code: public function delete(JobInterface $job)
      {
          if ($job->isRunOnce()) {
              $this->getCache()->delete(self::CACHE_JOB.get_class($job));
          }
          return $job->getBeanstalkJob()->delete();
      }
code_tokens: public function delete ( JobInterface $ job ) { if ( $ job -> isRunOnce ( ) ) { $ this -> getCache ( ) -> delete ( self :: CACHE_JOB . get_class ( $ job ) ) ; } return $ job -> getBeanstalkJob ( ) -> delete ( ) ; }
docstring: deletes job from queue
  
  @var JobInterface $job
docstring_tokens: deletes job from queue