diff options
Diffstat (limited to 'vendor/doctrine/orm/src/Query/AST/SimpleSelectExpression.php')
-rw-r--r-- | vendor/doctrine/orm/src/Query/AST/SimpleSelectExpression.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/vendor/doctrine/orm/src/Query/AST/SimpleSelectExpression.php b/vendor/doctrine/orm/src/Query/AST/SimpleSelectExpression.php new file mode 100644 index 0000000..97e8f08 --- /dev/null +++ b/vendor/doctrine/orm/src/Query/AST/SimpleSelectExpression.php | |||
@@ -0,0 +1,27 @@ | |||
1 | <?php | ||
2 | |||
3 | declare(strict_types=1); | ||
4 | |||
5 | namespace Doctrine\ORM\Query\AST; | ||
6 | |||
7 | use Doctrine\ORM\Query\SqlWalker; | ||
8 | |||
9 | /** | ||
10 | * SimpleSelectExpression ::= StateFieldPathExpression | IdentificationVariable | ||
11 | * | (AggregateExpression [["AS"] FieldAliasIdentificationVariable]) | ||
12 | * | ||
13 | * @link www.doctrine-project.org | ||
14 | */ | ||
15 | class SimpleSelectExpression extends Node | ||
16 | { | ||
17 | public string|null $fieldIdentificationVariable = null; | ||
18 | |||
19 | public function __construct(public Node|string $expression) | ||
20 | { | ||
21 | } | ||
22 | |||
23 | public function dispatch(SqlWalker $walker): string | ||
24 | { | ||
25 | return $walker->walkSimpleSelectExpression($this); | ||
26 | } | ||
27 | } | ||