public function add($name)
    {
        $result = $this->_queuesSet->add($name);

        if ($result) {
            $queuesCache = $this->_getQueuesCache();
            $queuesCache[] = $name;
            $this->_setQueuesCache($queuesCache);
        }

        return $result;
    }
public function add($name)
    {
        $result = $this->_queuesSet->add($name);

        if ($result) {
            $queuesCache = $this->_getQueuesCache();
            $queuesCache[] = $name;
            $this->_setQueuesCache($queuesCache);
        }

        return $result;
    }
public function add ( $ name ) { $ result = $ this -> _queuesSet -> add ( $ name ) ; if ( $ result ) { $ queuesCache = $ this -> _getQueuesCache ( ) ; $ queuesCache [ ] = $ name ; $ this -> _setQueuesCache ( $ queuesCache ) ; } return $ result ; }
Create a new queue in the queues set

@param string $name
@return bool
Create a new queue in the queues set