public function quote($value)
    {
        if ($this->isDoubleQuoted()) {
            return $this->doubleQuote($value);
        } else {
            return $this->singleQuote($value);
        }
    }