Doctrine\DBAL\Platforms\PostgreSqlPlatform::doConvertBooleans PHP Метод

doConvertBooleans() приватный Метод

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.
private doConvertBooleans ( mixed $item, callable $callback ) : mixed
$item mixed The value(s) to convert.
$callback callable The callback function to use for converting the real boolean value(s).
Результат mixed
    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);
    }
PostgreSqlPlatform