diff options
Diffstat (limited to 'vendor/doctrine/orm/src/Query/AST/IdentificationVariableDeclaration.php')
-rw-r--r-- | vendor/doctrine/orm/src/Query/AST/IdentificationVariableDeclaration.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/vendor/doctrine/orm/src/Query/AST/IdentificationVariableDeclaration.php b/vendor/doctrine/orm/src/Query/AST/IdentificationVariableDeclaration.php new file mode 100644 index 0000000..c4c7cca --- /dev/null +++ b/vendor/doctrine/orm/src/Query/AST/IdentificationVariableDeclaration.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 | * IdentificationVariableDeclaration ::= RangeVariableDeclaration [IndexBy] {JoinVariableDeclaration}* | ||
11 | * | ||
12 | * @link www.doctrine-project.org | ||
13 | */ | ||
14 | class IdentificationVariableDeclaration extends Node | ||
15 | { | ||
16 | /** @param mixed[] $joins */ | ||
17 | public function __construct( | ||
18 | public RangeVariableDeclaration|null $rangeVariableDeclaration = null, | ||
19 | public IndexBy|null $indexBy = null, | ||
20 | public array $joins = [], | ||
21 | ) { | ||
22 | } | ||
23 | |||
24 | public function dispatch(SqlWalker $walker): string | ||
25 | { | ||
26 | return $walker->walkIdentificationVariableDeclaration($this); | ||
27 | } | ||
28 | } | ||