summaryrefslogtreecommitdiff
path: root/vendor/doctrine/orm/src/Query/Expr/GroupBy.php
blob: fa4625a63554eaf0814a6c2864c005080743b5f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php

declare(strict_types=1);

namespace Doctrine\ORM\Query\Expr;

/**
 * Expression class for building DQL Group By parts.
 *
 * @link    www.doctrine-project.org
 */
class GroupBy extends Base
{
    protected string $preSeparator  = '';
    protected string $postSeparator = '';

    /** @psalm-var list<string> */
    protected array $parts = [];

    /** @psalm-return list<string> */
    public function getParts(): array
    {
        return $this->parts;
    }
}