source/Core/Database/Adapter/Doctrine/Database.php
public function quoteArray($array)
    {
        $result = [];

        foreach ($array as $key => $item) {
            $result[$key] = $this->quote($item);
        }

        return $result;
    }
public function quoteArray($array)
    {
        $result = [];

        foreach ($array as $key => $item) {
            $result[$key] = $this->quote($item);
        }

        return $result;
    }
public function quoteArray ( $ array ) { $ result = [ ] ; foreach ( $ array as $ key => $ item ) { $ result [ $ key ] = $ this -> quote ( $ item ) ; } return $ result ; }
Quote every value in a given array in a way, that it might be used as a value in a sql statement and return the
result as a new array. Numeric values will be converted to strings which quotes.
The keys and their order of the returned array will be the same as of the input array.

NOTE: It is not safe to use the return value of this function in a query. There will be no risk of SQL injection,
but when the statement is executed and the value could not have been quoted, a DatabaseException is thrown.
You are strongly encouraged to always use prepared statements instead of quoting the values on your own.

@param array $array The strings to quote as an array.

@return array Array with all string and numeric values quoted with single quotes or set to false, if the value could not have been quoted.
Quote every value in a given array in a way that it might be used as a value in a sql statement and return the result as a new array . Numeric values will be converted to strings which quotes . The keys and their order of the returned array will be the same as of the input array .