src/Qutee/Queue.php
public function clear()
    {
        if ($this->getPersistor()->clear()) {

            $event = new Event($this);

            $this->getEventDispatcher()->dispatch(self::EVENT_CLEAR_ALL_TASKS, $event);
            return true;
        }
        
        return false;
    }
public function clear()
    {
        if ($this->getPersistor()->clear()) {

            $event = new Event($this);

            $this->getEventDispatcher()->dispatch(self::EVENT_CLEAR_ALL_TASKS, $event);
            return true;
        }
        
        return false;
    }
Clear all tasks

@return boolean