src/Qutee/Persistor/Beanstalk.php
public function addTask(Task $task)
    {
        // Add task to queue
        $data = serialize($task);
        $this->_getClient()->putInTube(self::TUBE_NAME, $data, $this->_convertPriority($task->getPriority()));

        return $this;
    }
public function addTask(Task $task)
    {
        // Add task to queue
        $data = serialize($task);
        $this->_getClient()->putInTube(self::TUBE_NAME, $data, $this->_convertPriority($task->getPriority()));

        return $this;
    }
Add task to queue

@param Task $task

@return \Qutee\Persistor\Beanstalk