src/Parser/Doctrine/SelectPartialParser.php
final public static function parse(array $fieldPrefixesToClasses = []): string
    {
        $selectString = 'SELECT '.static::OBJECT_WORD;

        foreach ($fieldPrefixesToClasses as $fieldPrefix => $associationClass) {
            $selectString .= sprintf(
                ', %s_%s',
                self::OBJECT_WORD,
                StringManipulator::replaceAllDots($fieldPrefix)
            );
        }

        return $selectString.' ';
    }
final public static function parse(array $fieldPrefixesToClasses = []): string
    {
        $selectString = 'SELECT '.static::OBJECT_WORD;

        foreach ($fieldPrefixesToClasses as $fieldPrefix => $associationClass) {
            $selectString .= sprintf(
                ', %s_%s',
                self::OBJECT_WORD,
                StringManipulator::replaceAllDots($fieldPrefix)
            );
        }

        return $selectString.' ';
    }
@param array $fieldPrefixesToClasses

@return string