Pheasant\Database\Mysqli\Binder::escape PHP Method

escape() public method

public escape ( $string )
    public function escape($string)
    {
        if (is_object($string)) {
            throw new Exception("Unable to bind objects, only scalars supported");
        }
        return is_null($string) ? $string : $this->_link->escape_string($string);
    }