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