Soneritics/Database/DatabaseConnection/PDOMySQL.php
public function quote($value)
    {
        if (is_array($value)) {
            $result = [];
            foreach ($value as $single) {
                $result[] = $this->quote($single);
            }
            return sprintf(
                '(%s)',
                implode(', ', $result)
            );
        } else {
            return $this->pdo->quote($value);
        }
    }
public function quote($value)
    {
        if (is_array($value)) {
            $result = [];
            foreach ($value as $single) {
                $result[] = $this->quote($single);
            }
            return sprintf(
                '(%s)',
                implode(', ', $result)
            );
        } else {
            return $this->pdo->quote($value);
        }
    }
public function quote ( $ value ) { if ( is_array ( $ value ) ) { $ result = [ ] ; foreach ( $ value as $ single ) { $ result [ ] = $ this -> quote ( $ single ) ; } return sprintf ( '(%s)' , implode ( ', ' , $ result ) ) ; } else { return $ this -> pdo -> quote ( $ value ) ; } }
Quote a value for use in a query.
@param  $value
@return string
Quote a value for use in a query .