lib/Doctrine/DBAL/SQLParserUtils.php
private static function getNamedPlaceholderPositions(string $statement) : array
    {
        return self::collectPlaceholders(
            $statement,
            ':',
            self::NAMED_TOKEN,
            static function (string $placeholder, int $placeholderPosition, int $fragmentPosition, array &$carry) : void {
                $carry[$placeholderPosition + $fragmentPosition] = substr($placeholder, 1);
            }
        );
    }
private static function getNamedPlaceholderPositions(string $statement) : array
    {
        return self::collectPlaceholders(
            $statement,
            ':',
            self::NAMED_TOKEN,
            static function (string $placeholder, int $placeholderPosition, int $fragmentPosition, array &$carry) : void {
                $carry[$placeholderPosition + $fragmentPosition] = substr($placeholder, 1);
            }
        );
    }
private static function getNamedPlaceholderPositions ( string $ statement ) : array { return self :: collectPlaceholders ( $ statement , ':' , self :: NAMED_TOKEN , static function ( string $ placeholder , int $ placeholderPosition , int $ fragmentPosition , array & $ carry ) : void { $ carry [ $ placeholderPosition + $ fragmentPosition ] = substr ( $ placeholder , 1 ) ; } ) ; }
Returns a map of placeholder positions to their parameter names.

@return string[]
Returns a map of placeholder positions to their parameter names .