summaryrefslogtreecommitdiff
path: root/vendor/doctrine/orm/src/Query/Expr/Andx.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/doctrine/orm/src/Query/Expr/Andx.php')
-rw-r--r--vendor/doctrine/orm/src/Query/Expr/Andx.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/vendor/doctrine/orm/src/Query/Expr/Andx.php b/vendor/doctrine/orm/src/Query/Expr/Andx.php
new file mode 100644
index 0000000..a20bcef
--- /dev/null
+++ b/vendor/doctrine/orm/src/Query/Expr/Andx.php
@@ -0,0 +1,32 @@
1<?php
2
3declare(strict_types=1);
4
5namespace Doctrine\ORM\Query\Expr;
6
7/**
8 * Expression class for building DQL and parts.
9 *
10 * @link www.doctrine-project.org
11 */
12class Andx extends Composite
13{
14 protected string $separator = ' AND ';
15
16 /** @var string[] */
17 protected array $allowedClasses = [
18 Comparison::class,
19 Func::class,
20 Orx::class,
21 self::class,
22 ];
23
24 /** @psalm-var list<string|Comparison|Func|Orx|self> */
25 protected array $parts = [];
26
27 /** @psalm-return list<string|Comparison|Func|Orx|self> */
28 public function getParts(): array
29 {
30 return $this->parts;
31 }
32}