src/Provider/DoctrineProvider.php
public function destroy()
    {
        $qb = $this->repository->createQueryBuilder('dm');
        $qb->delete();
        $qb->where('dm.queue = :queue');
        $qb->setParameter('queue', $this->name);
        $qb->getQuery()->execute();

        return true;
    }
public function destroy()
    {
        $qb = $this->repository->createQueryBuilder('dm');
        $qb->delete();
        $qb->where('dm.queue = :queue');
        $qb->setParameter('queue', $this->name);
        $qb->getQuery()->execute();

        return true;
    }
public function destroy ( ) { $ qb = $ this -> repository -> createQueryBuilder ( 'dm' ) ; $ qb -> delete ( ) ; $ qb -> where ( 'dm.queue = :queue' ) ; $ qb -> setParameter ( 'queue' , $ this -> name ) ; $ qb -> getQuery ( ) -> execute ( ) ; return true ; }
Destroys a Queue and clears any Queue related Cache

@return bool
Destroys a Queue and clears any Queue related Cache