src/Connection/PDOConnectionWrapper.php
public function quote($string, $parameterType = \PDO::PARAM_STR)
    {
        return $this->connection->quote($string, $parameterType);
    }
public function quote($string, $parameterType = \PDO::PARAM_STR)
    {
        return $this->connection->quote($string, $parameterType);
    }
Quotes a string for use in a query.

@param string  $string        The string to be quoted
@param integer $parameterType Provides a data type hint for drivers that have alternate quoting styles

@return string|boolean Returns a quoted string that is theoretically safe to pass into an SQL statement or FALSE if the driver does not support quoting in this way
@link http://php.net/manual/en/pdo.quote.php