lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php
private function doConvertBooleans($item, $callback)
    {
        if (is_array($item)) {
            foreach ($item as $key => $value) {
                $item[$key] = $this->convertSingleBooleanValue($value, $callback);
            }

            return $item;
        }

        return $this->convertSingleBooleanValue($item, $callback);
    }
private function doConvertBooleans($item, $callback)
    {
        if (is_array($item)) {
            foreach ($item as $key => $value) {
                $item[$key] = $this->convertSingleBooleanValue($value, $callback);
            }

            return $item;
        }

        return $this->convertSingleBooleanValue($item, $callback);
    }
private function doConvertBooleans ( $ item , $ callback ) { if ( is_array ( $ item ) ) { foreach ( $ item as $ key => $ value ) { $ item [ $ key ] = $ this -> convertSingleBooleanValue ( $ value , $ callback ) ; } return $ item ; } return $ this -> convertSingleBooleanValue ( $ item , $ callback ) ; }
Converts one or multiple boolean values.

First converts the value(s) to their native PHP boolean type
and passes them to the given callback function to be reconverted
into any custom representation.

@param mixed    $item     The value(s) to convert.
@param callable $callback The callback function to use for converting the real boolean value(s).

@return mixed
Converts one or multiple boolean values .