summaryrefslogtreecommitdiff
path: root/vendor/doctrine/orm/src/Query/Expr/Literal.php
blob: 0c130309c458bd0a8f8a9f6e6d0c4c816b5c3a85 (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 generating DQL functions.
 *
 * @link    www.doctrine-project.org
 */
class Literal 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;
    }
}