private function create($name, $timeout = null)
    {
        if(null === $timeout) {
            $timeout = 10000;
        }

        $sql = 'INSERT INTO ' . $this->queueTable . '
            (queue_name, timeout)
            VALUES
            (:queue_name, :timeout)
            ';
        $stmt = $this->getDb()->prepare($sql);
        $stmt->bindParam(':queue_name', $name, \PDO::PARAM_STR);
        $stmt->bindParam(':timeout', $timeout, \PDO::PARAM_INT);
        $stmt->execute();
        return true;
    }
private function create($name, $timeout = null)
    {
        if(null === $timeout) {
            $timeout = 10000;
        }

        $sql = 'INSERT INTO ' . $this->queueTable . '
            (queue_name, timeout)
            VALUES
            (:queue_name, :timeout)
            ';
        $stmt = $this->getDb()->prepare($sql);
        $stmt->bindParam(':queue_name', $name, \PDO::PARAM_STR);
        $stmt->bindParam(':timeout', $timeout, \PDO::PARAM_INT);
        $stmt->execute();
        return true;
    }
private function create ( $ name , $ timeout = null ) { if ( null === $ timeout ) { $ timeout = 10000 ; } $ sql = 'INSERT INTO ' . $ this -> queueTable . '
            (queue_name, timeout)
            VALUES
            (:queue_name, :timeout)
            ' ; $ stmt = $ this -> getDb ( ) -> prepare ( $ sql ) ; $ stmt -> bindParam ( ':queue_name' , $ name , \ PDO :: PARAM_STR ) ; $ stmt -> bindParam ( ':timeout' , $ timeout , \ PDO :: PARAM_INT ) ; $ stmt -> execute ( ) ; return true ; }
Creates new Queue

@param string $name
@param int $timeout
@return bool
Creates new Queue