diff options
Diffstat (limited to 'vendor/doctrine/orm/src/Query/AST/SelectExpression.php')
| -rw-r--r-- | vendor/doctrine/orm/src/Query/AST/SelectExpression.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/vendor/doctrine/orm/src/Query/AST/SelectExpression.php b/vendor/doctrine/orm/src/Query/AST/SelectExpression.php new file mode 100644 index 0000000..f09f3cd --- /dev/null +++ b/vendor/doctrine/orm/src/Query/AST/SelectExpression.php | |||
| @@ -0,0 +1,28 @@ | |||
| 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 | * SelectExpression ::= IdentificationVariable ["." "*"] | StateFieldPathExpression | | ||
| 11 | * (AggregateExpression | "(" Subselect ")") [["AS"] ["HIDDEN"] FieldAliasIdentificationVariable] | ||
| 12 | * | ||
| 13 | * @link www.doctrine-project.org | ||
| 14 | */ | ||
| 15 | class SelectExpression extends Node | ||
| 16 | { | ||
| 17 | public function __construct( | ||
| 18 | public mixed $expression, | ||
| 19 | public string|null $fieldIdentificationVariable, | ||
| 20 | public bool $hiddenAliasResultVariable = false, | ||
| 21 | ) { | ||
| 22 | } | ||
| 23 | |||
| 24 | public function dispatch(SqlWalker $walker): string | ||
| 25 | { | ||
| 26 | return $walker->walkSelectExpression($this); | ||
| 27 | } | ||
| 28 | } | ||
