src/Queue/Beanstalk.php
public function delete(JobInterface $job)
    {
        if ($job->isRunOnce()) {
            $this->getCache()->delete(self::CACHE_JOB.get_class($job));
        }
        return $job->getBeanstalkJob()->delete();
    }
public function delete(JobInterface $job)
    {
        if ($job->isRunOnce()) {
            $this->getCache()->delete(self::CACHE_JOB.get_class($job));
        }
        return $job->getBeanstalkJob()->delete();
    }
public function delete ( JobInterface $ job ) { if ( $ job -> isRunOnce ( ) ) { $ this -> getCache ( ) -> delete ( self :: CACHE_JOB . get_class ( $ job ) ) ; } return $ job -> getBeanstalkJob ( ) -> delete ( ) ; }
deletes job from queue

@var JobInterface $job
deletes job from queue