diff options
Diffstat (limited to 'vendor/doctrine/orm/src/Query/AST/ParenthesisExpression.php')
-rw-r--r-- | vendor/doctrine/orm/src/Query/AST/ParenthesisExpression.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/vendor/doctrine/orm/src/Query/AST/ParenthesisExpression.php b/vendor/doctrine/orm/src/Query/AST/ParenthesisExpression.php new file mode 100644 index 0000000..cda6d19 --- /dev/null +++ b/vendor/doctrine/orm/src/Query/AST/ParenthesisExpression.php | |||
@@ -0,0 +1,22 @@ | |||
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 | * ParenthesisExpression ::= "(" ArithmeticPrimary ")" | ||
11 | */ | ||
12 | class ParenthesisExpression extends Node | ||
13 | { | ||
14 | public function __construct(public Node $expression) | ||
15 | { | ||
16 | } | ||
17 | |||
18 | public function dispatch(SqlWalker $walker): string | ||
19 | { | ||
20 | return $walker->walkParenthesisExpression($this); | ||
21 | } | ||
22 | } | ||