summaryrefslogtreecommitdiff
path: root/vendor/doctrine/orm/src/Query/AST/SimpleCaseExpression.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/doctrine/orm/src/Query/AST/SimpleCaseExpression.php')
-rw-r--r--vendor/doctrine/orm/src/Query/AST/SimpleCaseExpression.php28
1 files changed, 0 insertions, 28 deletions
diff --git a/vendor/doctrine/orm/src/Query/AST/SimpleCaseExpression.php b/vendor/doctrine/orm/src/Query/AST/SimpleCaseExpression.php
deleted file mode 100644
index b3764ba..0000000
--- a/vendor/doctrine/orm/src/Query/AST/SimpleCaseExpression.php
+++ /dev/null
@@ -1,28 +0,0 @@
1<?php
2
3declare(strict_types=1);
4
5namespace Doctrine\ORM\Query\AST;
6
7use Doctrine\ORM\Query\SqlWalker;
8
9/**
10 * SimpleCaseExpression ::= "CASE" CaseOperand SimpleWhenClause {SimpleWhenClause}* "ELSE" ScalarExpression "END"
11 *
12 * @link www.doctrine-project.org
13 */
14class SimpleCaseExpression extends Node
15{
16 /** @param mixed[] $simpleWhenClauses */
17 public function __construct(
18 public PathExpression|null $caseOperand = null,
19 public array $simpleWhenClauses = [],
20 public mixed $elseScalarExpression = null,
21 ) {
22 }
23
24 public function dispatch(SqlWalker $walker): string
25 {
26 return $walker->walkSimpleCaseExpression($this);
27 }
28}