summaryrefslogtreecommitdiff
path: root/vendor/doctrine/orm/src/Query/Expr/Select.php
blob: 91b0b6009495b86eeea9ee20b1a837b76cbb99ab (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
26
27
28
<?php

declare(strict_types=1);

namespace Doctrine\ORM\Query\Expr;

/**
 * Expression class for building DQL select statements.
 *
 * @link    www.doctrine-project.org
 */
class Select extends Base
{
    protected string $preSeparator  = '';
    protected string $postSeparator = '';

    /** @var string[] */
    protected array $allowedClasses = [Func::class];

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

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