original_string: public function quote($value, $type = null)
      {
          list($value, $type) = $this->cast($value, $type);
  
          return $this->_driver->quote($value, $type);
      }
code: public function quote($value, $type = null)
      {
          list($value, $type) = $this->cast($value, $type);
  
          return $this->_driver->quote($value, $type);
      }
code_tokens: public function quote ( $ value , $ type = null ) { list ( $ value , $ type ) = $ this -> cast ( $ value , $ type ) ; return $ this -> _driver -> quote ( $ value , $ type ) ; }
docstring: Quotes value to be used safely in database query.
  
  @param mixed $value The value to quote.
  @param string|null $type Type to be used for determining kind of quoting to perform
  @return string Quoted value
docstring_tokens: Quotes value to be used safely in database query .